OR-Tools  9.6
RoutingSolution::Event

Detailed Description

Definition at line 62 of file solution_serializer.h.

Public Types

enum class  Type {
  kStart , kEnd , kServeArc , kServeEdge ,
  kServeNode , kTransit
}
 

Public Member Functions

 Event (Type type, int64_t demand_id, Arc arc)
 
 Event (Type type, int64_t demand_id, Arc arc, std::string_view arc_name)
 
bool operator== (const Event &other) const
 
bool operator!= (const Event &other) const
 

Public Attributes

Type type
 
int64_t demand_id
 
Arc arc
 
std::string arc_name
 

Member Enumeration Documentation

◆ Type

enum Type
strong
Enumerator
kStart 
kEnd 
kServeArc 
kServeEdge 
kServeNode 
kTransit 

Definition at line 64 of file solution_serializer.h.

Constructor & Destructor Documentation

◆ Event() [1/2]

Event ( Type  type,
int64_t  demand_id,
Arc  arc 
)
inline

Definition at line 85 of file solution_serializer.h.

◆ Event() [2/2]

Event ( Type  type,
int64_t  demand_id,
Arc  arc,
std::string_view  arc_name 
)
inline

Definition at line 87 of file solution_serializer.h.

Member Function Documentation

◆ operator!=()

bool operator!= ( const Event other) const
inline

Definition at line 94 of file solution_serializer.h.

◆ operator==()

bool operator== ( const Event other) const
inline

Definition at line 90 of file solution_serializer.h.

Member Data Documentation

◆ arc

Arc arc

Definition at line 82 of file solution_serializer.h.

◆ arc_name

std::string arc_name

Definition at line 83 of file solution_serializer.h.

◆ demand_id

int64_t demand_id

Definition at line 81 of file solution_serializer.h.

◆ type

Type type

Definition at line 80 of file solution_serializer.h.


The documentation for this struct was generated from the following file: