MaxPlusAnalysis::TokenFIFO_Static Class Reference

#include <mpstorage.h>

Collaboration diagram for MaxPlusAnalysis::TokenFIFO_Static:

List of all members.

Public Member Functions

 TokenFIFO_Static (int sz)
MPTime removeFirst ()
MPTime removeFirstN (unsigned int n)
MPTime removeLast ()
void append (MPTime t)
void append (MPTime t, unsigned int n)
void append_front (MPTime t)
TokenFIFO_Staticcopy ()
size_t hashValue () const
bool compare (TokenFIFO_Static *l) const
Tokenfirst ()
MPTime getMax ()
void decreaseAll (MPDelay amount)
void smooth (TokenFIFO_Static *l)
void streamOn (std::ostream &s) const
unsigned int size () const
bool equals (const TokenFIFO_Static *l) const
TokenFIFO_Staticminus (TokenFIFO_Static *l) const
void add (double factor, TokenFIFO_Static *l)
void maxWith (double offset, TokenFIFO_Static *l)
void addToStdVector (vector< double > *v) const
unsigned int addToVector (MaxPlus::Vector *v, unsigned int k) const

Private Attributes

unsigned int asize
unsigned int begin
unsigned int end

Detailed Description

class TokenFIFO_Static A statically managed token fifo

Constructor & Destructor Documentation

MaxPlusAnalysis::TokenFIFO_Static::TokenFIFO_Static ( int  sz  ) 

References asize, begin, end, and tokens.

Referenced by copy(), and minus().

Member Function Documentation

void MaxPlusAnalysis::TokenFIFO_Static::add ( double  factor,
TokenFIFO_Static l 
void MaxPlusAnalysis::TokenFIFO_Static::addToStdVector ( vector< double > *  v  )  const
unsigned int MaxPlusAnalysis::TokenFIFO_Static::addToVector ( MaxPlus::Vector v,
unsigned int  k 
) const
void MaxPlusAnalysis::TokenFIFO_Static::append ( MPTime  t,
unsigned int  n 
) [inline]
void MaxPlusAnalysis::TokenFIFO_Static::append ( MPTime  t  ) 
void MaxPlusAnalysis::TokenFIFO_Static::append_front ( MPTime  t  ) 
bool MaxPlusAnalysis::TokenFIFO_Static::compare ( TokenFIFO_Static l  )  const
TokenFIFO_Static * MaxPlusAnalysis::TokenFIFO_Static::copy (  ) 

References asize, begin, end, TokenFIFO_Static(), and tokens.

Here is the call graph for this function:

void MaxPlusAnalysis::TokenFIFO_Static::decreaseAll ( MPDelay  amount  ) 
bool MaxPlusAnalysis::TokenFIFO_Static::equals ( const TokenFIFO_Static l  )  const
Token * MaxPlusAnalysis::TokenFIFO_Static::first (  ) 

References begin, and tokens.

MPTime MaxPlusAnalysis::TokenFIFO_Static::getMax (  ) 
size_t MaxPlusAnalysis::TokenFIFO_Static::hashValue (  )  const

References asize, begin, end, and tokens.

void MaxPlusAnalysis::TokenFIFO_Static::maxWith ( double  offset,
TokenFIFO_Static l 
TokenFIFO_Static * MaxPlusAnalysis::TokenFIFO_Static::minus ( TokenFIFO_Static l  )  const

References asize, begin, end, MaxPlusAnalysis::Token::productionTime, TokenFIFO_Static(), and tokens.

Here is the call graph for this function:

MPTime MaxPlusAnalysis::TokenFIFO_Static::removeFirst (  ) 
MPTime MaxPlusAnalysis::TokenFIFO_Static::removeFirstN ( unsigned int  n  )  [inline]
MPTime MaxPlusAnalysis::TokenFIFO_Static::removeLast (  ) 
unsigned int MaxPlusAnalysis::TokenFIFO_Static::size (  )  const

References asize, begin, and end.

void MaxPlusAnalysis::TokenFIFO_Static::smooth ( TokenFIFO_Static l  ) 
void MaxPlusAnalysis::TokenFIFO_Static::streamOn ( std::ostream &  s  )  const

Member Data Documentation

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