C++ Reference: class PathWithPreviousNodesOperator

This documentation is automatically generated.

Simple PathOperator wrapper that also stores the current previous nodes, and is thus able to provide the "Prev" and "IsPathStart" functions.
Method
DebugString

Return type: std::string

IsPathStart

Return type: bool

Arguments: int64 node_index

PathWithPreviousNodesOperator

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

~PathWithPreviousNodesOperator

Prev

Return type: int64

Arguments: int64 node_index