Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
PropagationGraph (double deterministic_time_limit, SatSolver *solver) | |
PropagationGraph (const PropagationGraph &)=delete | |
This type is neither copyable nor movable. | |
PropagationGraph & | operator= (const PropagationGraph &)=delete |
const std::vector< int32_t > & | operator[] (int32_t index) const |
A simple graph where the nodes are the literals and the nodes adjacent to a literal l are the propagated literal when l is assigned in the underlying sat solver.
This can be used to do a strong component analysis while probing all the literals of a solver. Note that this can be expensive, hence the support for a deterministic time limit.
Definition at line 1097 of file simplification.cc.
|
inline |
Definition at line 1099 of file simplification.cc.
|
delete |
This type is neither copyable nor movable.
|
delete |
|
inline |
Returns the set of node adjacent to the given one. Interface needed by FindStronglyConnectedComponents(), note that it needs to be const.
Definition at line 1111 of file simplification.cc.