![]() |
OR-Tools
9.0
|
Classes | |
| class | OutgoingArcIterator |
Public Types | |
| typedef int32_t | NodeIndex |
| typedef int32_t | ArcIndex |
Public Member Functions | |
| StaticGraph () | |
| StaticGraph (NodeIndexType num_nodes, ArcIndexType arc_capacity) | |
| NodeIndexType | Head (ArcIndexType arc) const |
| NodeIndexType | Tail (ArcIndexType arc) const |
| ArcIndexType | OutDegree (NodeIndexType node) const |
| BeginEndWrapper< OutgoingArcIterator > | OutgoingArcs (NodeIndexType node) const |
| BeginEndWrapper< OutgoingArcIterator > | OutgoingArcsStartingFrom (NodeIndexType node, ArcIndexType from) const |
| BeginEndWrapper< NodeIndexType const * > | operator[] (NodeIndexType node) const |
| void | ReserveNodes (NodeIndexType bound) override |
| void | ReserveArcs (ArcIndexType bound) override |
| void | AddNode (NodeIndexType node) |
| ArcIndexType | AddArc (NodeIndexType tail, NodeIndexType head) |
| void | Build () |
| void | Build (std::vector< ArcIndexType > *permutation) |
| bool | IsArcValid (ArcIndexType arc) const |
| int32_t | num_nodes () const |
| int32_t | num_arcs () const |
| IntegerRange< NodeIndex > | AllNodes () const |
| IntegerRange< ArcIndex > | AllForwardArcs () const |
| bool | IsNodeValid (int32_t node) const |
| bool | IsArcValid (int32_t arc) const |
| int32_t | node_capacity () const |
| int32_t | arc_capacity () const |
| virtual void | ReserveNodes (int32_t bound) |
| virtual void | ReserveArcs (int32_t bound) |
| void | Reserve (int32_t node_capacity, int32_t arc_capacity) |
| void | FreezeCapacities () |
| void | GroupForwardArcsByFunctor (const A &a, B *b) |
| int32_t | max_end_arc_index () const |
Static Public Attributes | |
| static const int32_t | kNilNode |
| static const int32_t | kNilArc |
Protected Member Functions | |
| void | ComputeCumulativeSum (std::vector< int32_t > *v) |
| void | BuildStartAndForwardHead (SVector< int32_t > *head, std::vector< int32_t > *start, std::vector< int32_t > *permutation) |
|
inline |
|
inline |
| ArcIndexType AddArc | ( | NodeIndexType | tail, |
| NodeIndexType | head | ||
| ) |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
inlineinherited |
|
inlineinherited |
| BeginEndWrapper< NodeIndexType const * > operator[] | ( | NodeIndexType | node | ) | const |
| BeginEndWrapper<OutgoingArcIterator> OutgoingArcs | ( | NodeIndexType | node | ) | const |
| BeginEndWrapper<OutgoingArcIterator> OutgoingArcsStartingFrom | ( | NodeIndexType | node, |
| ArcIndexType | from | ||
| ) | const |
|
inlineinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |