@@ -216,7 +216,7 @@ TIP: Run `pred create <PROBLEM>` (no other flags) to see problem-specific help.
216216
217217Flags by problem type:
218218 MIS, MVC, MaxClique, MinDomSet --graph, --weights
219- MaxCut, MaxMatching, TSP --graph, --edge-weights
219+ MaxCut, MaxMatching, TSP, BottleneckTravelingSalesman --graph, --edge-weights
220220 ShortestWeightConstrainedPath --graph, --edge-lengths, --edge-weights, --source-vertex, --target-vertex, --length-bound, --weight-bound
221221 MaximalIS --graph, --weights
222222 SAT, NAESAT --num-vars, --clauses
@@ -231,6 +231,7 @@ Flags by problem type:
231231 GeneralizedHex --graph, --source, --sink
232232 MinimumCutIntoBoundedSets --graph, --edge-weights, --source, --sink, --size-bound, --cut-bound
233233 HamiltonianCircuit, HC --graph
234+ LongestCircuit --graph, --edge-weights, --bound
234235 BoundedComponentSpanningForest --graph, --weights, --k, --bound
235236 UndirectedTwoCommodityIntegralFlow --graph, --capacities, --source-1, --sink-1, --source-2, --sink-2, --requirement-1, --requirement-2
236237 IsomorphicSpanningTree --graph, --tree
@@ -265,7 +266,9 @@ Flags by problem type:
265266 SequencingWithinIntervals --release-times, --deadlines, --lengths
266267 OptimalLinearArrangement --graph, --bound
267268 MinMaxMulticenter (pCenter) --graph, --weights, --edge-weights, --k, --bound
269+ MixedChinesePostman (MCPP) --graph, --arcs, --edge-weights, --arc-costs, --bound [--num-vertices]
268270 RuralPostman (RPP) --graph, --edge-weights, --required-edges, --bound
271+ StackerCrane --arcs, --graph, --arc-costs, --edge-lengths, --bound [--num-vertices]
269272 MultipleChoiceBranching --arcs [--weights] --partition --bound [--num-vertices]
270273 AdditionalKey --num-attributes, --dependencies, --relation-attrs [--known-keys]
271274 ConsistencyOfDatabaseFrequencyTables --num-objects, --attribute-domains, --frequency-tables [--known-values]
@@ -498,7 +501,7 @@ pub struct CreateArgs {
498501 /// Required edge indices for RuralPostman (comma-separated, e.g., "0,2,4")
499502 #[ arg( long) ]
500503 pub required_edges : Option < String > ,
501- /// Upper bound or length bound ( for BoundedComponentSpanningForest, LengthBoundedDisjointPaths, LongestCommonSubsequence, MultipleCopyFileAllocation, MultipleChoiceBranching, OptimalLinearArrangement, RuralPostman, ShortestCommonSupersequence, or StringToStringCorrection)
504+ /// Bound parameter (lower bound for LongestCircuit; upper or length bound for BoundedComponentSpanningForest, LengthBoundedDisjointPaths, LongestCommonSubsequence, MultipleCopyFileAllocation, MultipleChoiceBranching, OptimalLinearArrangement, RuralPostman, ShortestCommonSupersequence, or StringToStringCorrection)
502505 #[ arg( long, allow_hyphen_values = true ) ]
503506 pub bound : Option < i64 > ,
504507 /// Upper bound on total path length
@@ -849,4 +852,22 @@ mod tests {
849852 assert ! ( help. contains( "--potential-edges" ) ) ;
850853 assert ! ( help. contains( "--budget" ) ) ;
851854 }
855+
856+ #[ test]
857+ fn test_create_help_mentions_stacker_crane_flags ( ) {
858+ let cmd = Cli :: command ( ) ;
859+ let create = cmd. find_subcommand ( "create" ) . expect ( "create subcommand" ) ;
860+ let help = create
861+ . get_after_help ( )
862+ . expect ( "create after_help" )
863+ . to_string ( ) ;
864+
865+ assert ! ( help. contains( "StackerCrane" ) ) ;
866+ assert ! ( help. contains( "--arcs" ) ) ;
867+ assert ! ( help. contains( "--graph" ) ) ;
868+ assert ! ( help. contains( "--arc-costs" ) ) ;
869+ assert ! ( help. contains( "--edge-lengths" ) ) ;
870+ assert ! ( help. contains( "--bound" ) ) ;
871+ assert ! ( help. contains( "--num-vertices" ) ) ;
872+ }
852873}
0 commit comments