|
| IncomingArcIterator (const ReverseArcMixedGraph &graph, NodeIndexType node) |
|
| IncomingArcIterator (const ReverseArcMixedGraph &graph, NodeIndexType node, ArcIndexType arc) |
|
ArcIndexType | Index () const |
|
| DEFINE_STL_ITERATOR_FUNCTIONS (IncomingArcIterator) |
|
bool | IsArcValid (ArcIndexType arc) const |
|
| ReverseArcMixedGraph () |
|
| ReverseArcMixedGraph (NodeIndexType num_nodes, ArcIndexType arc_capacity) |
|
ArcIndexType | OutDegree (NodeIndexType node) const |
|
ArcIndexType | InDegree (NodeIndexType node) const |
|
BeginEndWrapper< OutgoingArcIterator > | OutgoingArcs (NodeIndexType node) const |
|
BeginEndWrapper< IncomingArcIterator > | IncomingArcs (NodeIndexType node) const |
|
BeginEndWrapper< OutgoingOrOppositeIncomingArcIterator > | OutgoingOrOppositeIncomingArcs (NodeIndexType node) const |
|
BeginEndWrapper< OppositeIncomingArcIterator > | OppositeIncomingArcs (NodeIndexType node) const |
|
BeginEndWrapper< OutgoingArcIterator > | OutgoingArcsStartingFrom (NodeIndexType node, ArcIndexType from) const |
|
BeginEndWrapper< IncomingArcIterator > | IncomingArcsStartingFrom (NodeIndexType node, ArcIndexType from) const |
|
BeginEndWrapper< OutgoingOrOppositeIncomingArcIterator > | OutgoingOrOppositeIncomingArcsStartingFrom (NodeIndexType node, ArcIndexType from) const |
|
BeginEndWrapper< OppositeIncomingArcIterator > | OppositeIncomingArcsStartingFrom (NodeIndexType node, ArcIndexType from) const |
|
absl::Span< const NodeIndexType > | operator[] (NodeIndexType node) const |
|
ArcIndexType | OppositeArc (ArcIndexType arc) const |
|
NodeIndexType | Head (ArcIndexType arc) const |
|
NodeIndexType | Tail (ArcIndexType arc) const |
|
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 |
|
| BaseGraph () |
|
| BaseGraph (const BaseGraph &)=default |
|
BaseGraph & | operator= (const BaseGraph &)=default |
|
virtual | ~BaseGraph ()=default |
|
NodeIndexType | num_nodes () const |
|
NodeIndexType | size () const |
|
ArcIndexType | num_arcs () const |
| Returns the number of valid arcs in the graph.
|
|
IntegerRange< NodeIndex > | AllNodes () const |
| BaseGraph implementation -------------------------------------------------—.
|
|
IntegerRange< ArcIndex > | AllForwardArcs () const |
|
bool | IsNodeValid (NodeIndexType node) const |
| Returns true if the given node is a valid node of the graph.
|
|
bool | IsArcValid (ArcIndexType arc) const |
|
NodeIndexType | node_capacity () const |
| Capacity reserved for future nodes, always >= num_nodes_.
|
|
ArcIndexType | arc_capacity () const |
| Capacity reserved for future arcs, always >= num_arcs_.
|
|
virtual void | ReserveNodes (NodeIndexType bound) |
|
void | Reserve (NodeIndexType node_capacity, ArcIndexType arc_capacity) |
|
void | FreezeCapacities () |
|
| BaseGraph () |
|
| BaseGraph (const BaseGraph &)=default |
|
BaseGraph & | operator= (const BaseGraph &)=default |
|
virtual | ~BaseGraph ()=default |
|
NodeIndexType | num_nodes () const |
|
NodeIndexType | size () const |
|
ArcIndexType | num_arcs () const |
| Returns the number of valid arcs in the graph.
|
|
IntegerRange< NodeIndex > | AllNodes () const |
| BaseGraph implementation -------------------------------------------------—.
|
|
IntegerRange< ArcIndex > | AllForwardArcs () const |
|
bool | IsNodeValid (NodeIndexType node) const |
| Returns true if the given node is a valid node of the graph.
|
|
bool | IsArcValid (ArcIndexType arc) const |
|
NodeIndexType | node_capacity () const |
| Capacity reserved for future nodes, always >= num_nodes_.
|
|
ArcIndexType | arc_capacity () const |
| Capacity reserved for future arcs, always >= num_arcs_.
|
|
virtual void | ReserveNodes (NodeIndexType bound) |
|
void | Reserve (NodeIndexType node_capacity, ArcIndexType arc_capacity) |
|
void | FreezeCapacities () |
|
| OppositeIncomingArcIterator (const ReverseArcMixedGraph &graph, NodeIndexType node) |
|
| OppositeIncomingArcIterator (const ReverseArcMixedGraph &graph, NodeIndexType node, ArcIndexType arc) |
|
bool | Ok () const |
|
ArcIndexType | Index () const |
|
void | Next () |
|
| DEFINE_STL_ITERATOR_FUNCTIONS (OppositeIncomingArcIterator) |
|
bool | IsArcValid (ArcIndexType arc) const |
|
| ReverseArcMixedGraph () |
|
| ReverseArcMixedGraph (NodeIndexType num_nodes, ArcIndexType arc_capacity) |
|
ArcIndexType | OutDegree (NodeIndexType node) const |
|
ArcIndexType | InDegree (NodeIndexType node) const |
|
BeginEndWrapper< OutgoingArcIterator > | OutgoingArcs (NodeIndexType node) const |
|
BeginEndWrapper< IncomingArcIterator > | IncomingArcs (NodeIndexType node) const |
|
BeginEndWrapper< OutgoingOrOppositeIncomingArcIterator > | OutgoingOrOppositeIncomingArcs (NodeIndexType node) const |
|
BeginEndWrapper< OppositeIncomingArcIterator > | OppositeIncomingArcs (NodeIndexType node) const |
|
BeginEndWrapper< OutgoingArcIterator > | OutgoingArcsStartingFrom (NodeIndexType node, ArcIndexType from) const |
|
BeginEndWrapper< IncomingArcIterator > | IncomingArcsStartingFrom (NodeIndexType node, ArcIndexType from) const |
|
BeginEndWrapper< OutgoingOrOppositeIncomingArcIterator > | OutgoingOrOppositeIncomingArcsStartingFrom (NodeIndexType node, ArcIndexType from) const |
|
BeginEndWrapper< OppositeIncomingArcIterator > | OppositeIncomingArcsStartingFrom (NodeIndexType node, ArcIndexType from) const |
|
absl::Span< const NodeIndexType > | operator[] (NodeIndexType node) const |
|
ArcIndexType | OppositeArc (ArcIndexType arc) const |
|
NodeIndexType | Head (ArcIndexType arc) const |
|
NodeIndexType | Tail (ArcIndexType arc) const |
|
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 |
|
template<typename NodeIndexType = int32_t, typename ArcIndexType = int32_t>
class util::ReverseArcMixedGraph< NodeIndexType, ArcIndexType >::IncomingArcIterator
Definition at line 2169 of file graph.h.