C++ Reference: class IndexPairSwapActiveOperator

This documentation is automatically generated.

Operator which inserts inactive nodes into a path and makes a pair of active nodes inactive.
Method
DebugString

Return type: std::string

IndexPairSwapActiveOperator

Arguments: const std::vector<IntVar*>& vars, const std::vector<IntVar*>& secondary_vars, std::function<int(int64)> start_empty_path_class, const RoutingIndexPairs& index_pairs

~IndexPairSwapActiveOperator

MakeNeighbor

Return type: bool

MakeNextNeighbor

Return type: bool

Arguments: Assignment* delta, Assignment* deltadelta