![]() |
OR-Tools
8.2
|
Public Types | |
| typedef NodeIndexType | NodeIndex |
| typedef ArcIndexType | ArcIndex |
Public Member Functions | |
| BaseGraph () | |
| virtual | ~BaseGraph () |
| NodeIndexType | num_nodes () const |
| ArcIndexType | num_arcs () const |
| IntegerRange< NodeIndex > | AllNodes () const |
| IntegerRange< ArcIndex > | AllForwardArcs () const |
| bool | IsNodeValid (NodeIndexType node) const |
| bool | IsArcValid (ArcIndexType arc) const |
| NodeIndexType | node_capacity () const |
| ArcIndexType | arc_capacity () const |
| virtual void | ReserveNodes (NodeIndexType bound) |
| virtual void | ReserveArcs (ArcIndexType bound) |
| void | Reserve (NodeIndexType node_capacity, ArcIndexType arc_capacity) |
| void | FreezeCapacities () |
| template<typename A , typename B > | |
| void | GroupForwardArcsByFunctor (const A &a, B *b) |
| ArcIndexType | max_end_arc_index () const |
Static Public Attributes | |
| static const NodeIndexType | kNilNode |
| static const ArcIndexType | kNilArc |
Protected Member Functions | |
| void | ComputeCumulativeSum (std::vector< ArcIndexType > *v) |
| void | BuildStartAndForwardHead (SVector< NodeIndexType > *head, std::vector< ArcIndexType > *start, std::vector< ArcIndexType > *permutation) |
Protected Attributes | |
| NodeIndexType | num_nodes_ |
| NodeIndexType | node_capacity_ |
| ArcIndexType | num_arcs_ |
| ArcIndexType | arc_capacity_ |
| bool | const_capacities_ |
| IntegerRange< ArcIndexType > AllForwardArcs |
| IntegerRange< NodeIndexType > AllNodes |
|
protected |
|
protected |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in ReverseArcListGraph< int, int >.
|
inlinevirtual |
Reimplemented in ReverseArcListGraph< int, int >.
|
static |
|
static |