PandA-2024.02
Public Member Functions | Protected Attributes
StartingTimeSorter Class Reference
Inheritance diagram for StartingTimeSorter:
Inheritance graph
[legend]
Collaboration diagram for StartingTimeSorter:
Collaboration graph
[legend]

Public Member Functions

 StartingTimeSorter (const CustomMap< unsigned int, double > &_starting_times)
 The constructor. More...
 
bool operator() (const unsigned int x, const unsigned int y) const
 Compare position of two operations. More...
 

Protected Attributes

const CustomMap< unsigned int, double > & starting_times
 The starting time. More...
 

Detailed Description

Definition at line 1182 of file schedule.cpp.

Constructor & Destructor Documentation

◆ StartingTimeSorter()

StartingTimeSorter::StartingTimeSorter ( const CustomMap< unsigned int, double > &  _starting_times)
inlineexplicit

The constructor.

Parameters
starting_timeis the starting time of each operation

Definition at line 1193 of file schedule.cpp.

Member Function Documentation

◆ operator()()

bool StartingTimeSorter::operator() ( const unsigned int  x,
const unsigned int  y 
) const
inline

Compare position of two operations.

Parameters
xis the index of the first operation
yis the index of the second operation
Returns
true if starting time of x is before starting time of y

Definition at line 1203 of file schedule.cpp.

Field Documentation

◆ starting_times

const CustomMap<unsigned int, double>& StartingTimeSorter::starting_times
protected

The starting time.

Definition at line 1186 of file schedule.cpp.


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

Generated on Mon Feb 12 2024 13:04:03 for PandA-2024.02 by doxygen 1.8.13