risc::sg::TimeAdvanceTable Class Reference

#include <time_advance_table.h>

Collaboration diagram for risc::sg::TimeAdvanceTable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TimeAdvanceTable (SegmentGraph &graph)
 Default constructor for the timeAdvanceTable.
 ~TimeAdvanceTable ()
 Default destructor for the timeAdvanceTable.
void determine_conflict_table ()
 This function determines conflicts among the segments.
void print_current_time_advance_table (std::string filename)
void print_next_time_advance_table (std::string filename)
void print_time_table (Time *table, std::string filename)
Time get_waiting_time_for_segment (VertexIterator Segment)
int get_segment_id (int index)
long long convert_si_magnitude (std::string magnitude)

Public Attributes

SegmentGraphsegment_graph_
 Reference to the associated segment graph of the conflict table.
int size_
 Size of the conflict table.
std::vector< VertexIteratortable_index_segment_lookup_
 This vector is a lookup between the conflict table index and the associated segment index.
Timecurrent_time_advance_
 Pointer for the current and next time advance table.
Timenext_time_advance_

Private Types

typedef boost::graph_traits
< risc::sg::Graph >
::vertex_iterator 
VertexIterator

Member Typedef Documentation

typedef boost::graph_traits<risc::sg::Graph>::vertex_iterator risc::sg::TimeAdvanceTable::VertexIterator [private]

Constructor & Destructor Documentation

risc::sg::TimeAdvanceTable::TimeAdvanceTable ( SegmentGraph graph  ) 

Default constructor for the timeAdvanceTable.

risc::sg::TimeAdvanceTable::~TimeAdvanceTable (  ) 

Default destructor for the timeAdvanceTable.


Member Function Documentation

long long risc::sg::TimeAdvanceTable::convert_si_magnitude ( std::string  magnitude  ) 
risc::sg::TimeAdvanceTable::determine_conflict_table (  ) 

This function determines conflicts among the segments.

int risc::sg::TimeAdvanceTable::get_segment_id ( int  index  ) 
risc::sg::Time risc::sg::TimeAdvanceTable::get_waiting_time_for_segment ( VertexIterator  Segment  ) 
void risc::sg::TimeAdvanceTable::print_current_time_advance_table ( std::string  filename  ) 
void risc::sg::TimeAdvanceTable::print_next_time_advance_table ( std::string  filename  ) 
void risc::sg::TimeAdvanceTable::print_time_table ( Time table,
std::string  filename 
)

Member Data Documentation

Pointer for the current and next time advance table.

Reference to the associated segment graph of the conflict table.

Size of the conflict table.

This vector is a lookup between the conflict table index and the associated segment index.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Jul 2017 by  doxygen 1.6.1