#include <mpstorage.h>

Collaboration diagram for MaxPlusAnalysis::State:

List of all members.

Public Member Functions

 State (Graph *G)
 State (size_t sz)
 ~State ()
Statecopy ()
MPTime consume (Port *p)
MPTime consume (Port *p, int n)
MPTime consume_back (Port *p)
void produce (Port *p, MPTime t)
void produce_front (Port *p, MPTime t)
bool actorEnabled (Actor *a)
bool actorReverseEnabled (Actor *a)
size_t hashValue () const
bool compare (const State *s) const
bool equals (const State *s) const
Stateminus (State *v) const
void add (double factor, State *v)
void maxWith (double offset, State *v)
TokenfirstToken ()
MPDelay normalize ()
MPTime norm ()
void smooth (State *y)
void streamOn (std::ostream &s)
vector< double > * asStdVector (void)
MaxPlus::VectorasVector (void)

Static Public Member Functions

static StatezeroState (Graph *G)
static StatefromVector (Graph *G, MaxPlus::Vector *v)
static StatezeroScheduleState (Graph *G)

Public Attributes

MPTime timestamp
unsigned int count

Private Member Functions

void initSize (size_t sz)

Private Attributes

size_t size
TokenFIFO ** table

Detailed Description

class State State represents a distribution of timestamped tokens over the channels of the SDFG


Constructor & Destructor Documentation

MaxPlusAnalysis::State::State ( Graph G  ) 

References MaxPlusAnalysis::GraphDecoration::Graph::channels, and initSize().

Referenced by copy(), fromVector(), minus(), zeroScheduleState(), and zeroState().

Here is the call graph for this function:

MaxPlusAnalysis::State::State ( size_t  sz  ) 

References initSize().

Here is the call graph for this function:

MaxPlusAnalysis::State::~State (  ) 

References size, and table.


Member Function Documentation

void MaxPlusAnalysis::State::add ( double  factor,
State v 
)

References size, table, and TokenFIFO.

vector< double > * MaxPlusAnalysis::State::asStdVector ( void   ) 

References size, table, TokenFIFO, and v.

MaxPlus::Vector * MaxPlusAnalysis::State::asVector ( void   ) 
bool MaxPlusAnalysis::State::compare ( const State s  )  const

References size, and table.

MPTime MaxPlusAnalysis::State::consume ( Port p,
int  n 
)
bool MaxPlusAnalysis::State::equals ( const State s  )  const
Token * MaxPlusAnalysis::State::firstToken (  ) 
size_t MaxPlusAnalysis::State::hashValue (  )  const

References size, and table.

Referenced by MaxPlusAnalysis::StateHasher::operator()().

void MaxPlusAnalysis::State::initSize ( size_t  sz  )  [private]

References size, table, and TokenFIFO.

Referenced by State().

void MaxPlusAnalysis::State::maxWith ( double  offset,
State v 
)

References size, table, and TokenFIFO.

State * MaxPlusAnalysis::State::minus ( State v  )  const

References size, State(), table, and TokenFIFO.

Referenced by MaxPlusAnalysis::Exploration::exploreDelayForSchedule().

Here is the call graph for this function:

MPTime MaxPlusAnalysis::State::norm (  ) 
MPDelay MaxPlusAnalysis::State::normalize (  ) 

References norm(), size, table, and timestamp.

Referenced by MaxPlusAnalysis::Exploration::exploreDelayForSchedule(), and MaxPlusAnalysis::Exploration::normalize().

Here is the call graph for this function:

void MaxPlusAnalysis::State::smooth ( State y  ) 

References size, and table.

Referenced by MaxPlusAnalysis::Exploration::exploreEigen().

void MaxPlusAnalysis::State::streamOn ( std::ostream &  s  ) 

References size, table, and TokenFIFO.


Member Data Documentation


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