@@ -11,7 +11,7 @@ protected override void SolvePart1_Sample()
1111 var machineDefinitions = get_sample ( x => new Machine ( x ) ) . ToList ( ) ;
1212
1313 // Act
14- var shortestPresses = machineDefinitions . Select ( m => m . ComputeFewestButtonPresses ( ) ) ;
14+ var shortestPresses = machineDefinitions . Select ( m => m . ComputeFewestButtonPressesForLightDiagram ( ) ) ;
1515
1616 // Assert
1717 shortestPresses . Sum ( ) . ShouldBe ( 7 ) ;
@@ -23,7 +23,7 @@ protected override void SolvePart1_Actual()
2323 var machineDefinitions = get_input ( x => new Machine ( x ) ) . ToList ( ) ;
2424
2525 // Act
26- var shortestPresses = machineDefinitions . Select ( m => m . ComputeFewestButtonPresses ( ) ) ;
26+ var shortestPresses = machineDefinitions . Select ( m => m . ComputeFewestButtonPressesForLightDiagram ( ) ) ;
2727
2828 // Assert
2929 shortestPresses . Sum ( ) . ShouldBe ( 520 ) ;
@@ -35,7 +35,7 @@ protected override void SolvePart2_Sample()
3535 var machineDefinitions = get_sample ( x => new Machine ( x ) ) . ToList ( ) ;
3636
3737 // Act
38- var shortestPresses = machineDefinitions . Select ( m => m . GetValidVoltageCombination ( ) ) ;
38+ var shortestPresses = machineDefinitions . Select ( m => m . ComputeFewestButtonPressesForVoltageCombination ( ) ) ;
3939
4040 // Assert
4141 shortestPresses . Sum ( ) . ShouldBe ( 33 ) ;
@@ -47,7 +47,7 @@ protected override void SolvePart2_Actual()
4747 var machineDefinitions = get_input ( x => new Machine ( x ) ) . ToList ( ) ;
4848
4949 // Act
50- var shortestPresses = machineDefinitions . Select ( m => m . GetValidVoltageCombination ( ) ) ;
50+ var shortestPresses = machineDefinitions . Select ( m => m . ComputeFewestButtonPressesForVoltageCombination ( ) ) ;
5151
5252 // Assert
5353 shortestPresses . Sum ( ) . ShouldBe ( 20626 ) ;
@@ -74,7 +74,7 @@ public Machine(string definition)
7474 JoltageRequirements = parts [ ^ 1 ] . Trim ( '{' , '}' ) . Split ( ',' ) . Select ( int . Parse ) . ToArray ( ) ;
7575 }
7676
77- public int ComputeFewestButtonPresses ( )
77+ public int ComputeFewestButtonPressesForLightDiagram ( )
7878 {
7979 var path = Search < long > . BFS ( 0L ,
8080 x => WiringSchematicsValues . Select ( s => x ^ s ) . ToList ( ) ,
@@ -85,7 +85,7 @@ public int ComputeFewestButtonPresses()
8585
8686 // https://www.reddit.com/r/adventofcode/comments/1pity70/2025_day_10_solutions/
8787 // https://developers.google.com/optimization/lp/lp_example
88- public int GetValidVoltageCombination ( )
88+ public int ComputeFewestButtonPressesForVoltageCombination ( )
8989 {
9090 var solver = Solver . CreateSolver ( "SCIP" ) ;
9191 var objective = solver . Objective ( ) ;
0 commit comments