MaxPlusAnalysis::TokenFIFO_Static Class Reference
#include <mpstorage.h>
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_Static * | copy () |
size_t | hashValue () const |
bool | compare (TokenFIFO_Static *l) const |
Token * | first () |
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_Static * | minus (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 | |
Token * | tokens |
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 | ) |
Member Function Documentation
void MaxPlusAnalysis::TokenFIFO_Static::add | ( | double | factor, | |
TokenFIFO_Static * | l | |||
) |
References asize, begin, end, MaxPlusAnalysis::Token::productionTime, and tokens.
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 | ) |
References asize, end, MaxPlusAnalysis::Token::productionTime, and tokens.
void MaxPlusAnalysis::TokenFIFO_Static::append_front | ( | MPTime | t | ) |
References asize, begin, MaxPlusAnalysis::Token::productionTime, and tokens.
bool MaxPlusAnalysis::TokenFIFO_Static::compare | ( | TokenFIFO_Static * | l | ) | const |
References asize, begin, end, MaxPlusAnalysis::Token::productionTime, and tokens.
TokenFIFO_Static * MaxPlusAnalysis::TokenFIFO_Static::copy | ( | ) |
References asize, begin, end, TokenFIFO_Static(), and tokens.
void MaxPlusAnalysis::TokenFIFO_Static::decreaseAll | ( | MPDelay | amount | ) |
References asize, begin, end, MaxPlusAnalysis::Token::productionTime, and tokens.
bool MaxPlusAnalysis::TokenFIFO_Static::equals | ( | const TokenFIFO_Static * | l | ) | const |
References asize, begin, end, MaxPlusAnalysis::Token::productionTime, and tokens.
MPTime MaxPlusAnalysis::TokenFIFO_Static::getMax | ( | ) |
size_t MaxPlusAnalysis::TokenFIFO_Static::hashValue | ( | ) | const |
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.
MPTime MaxPlusAnalysis::TokenFIFO_Static::removeFirst | ( | ) |
References asize, begin, MaxPlusAnalysis::Token::productionTime, and tokens.
MPTime MaxPlusAnalysis::TokenFIFO_Static::removeFirstN | ( | unsigned int | n | ) | [inline] |
References MaxPlusAnalysis::Token::productionTime.
MPTime MaxPlusAnalysis::TokenFIFO_Static::removeLast | ( | ) |
References asize, end, MaxPlusAnalysis::Token::productionTime, and tokens.
void MaxPlusAnalysis::TokenFIFO_Static::smooth | ( | TokenFIFO_Static * | l | ) |
References asize, begin, end, MaxPlusAnalysis::Token::productionTime, and tokens.
void MaxPlusAnalysis::TokenFIFO_Static::streamOn | ( | std::ostream & | s | ) | const |
References asize, begin, end, MaxPlusAnalysis::Token::productionTime, and tokens.
Member Data Documentation
unsigned int MaxPlusAnalysis::TokenFIFO_Static::asize [private] |
Referenced by add(), append(), append_front(), compare(), copy(), decreaseAll(), equals(), getMax(), hashValue(), maxWith(), minus(), removeFirst(), removeLast(), size(), smooth(), streamOn(), and TokenFIFO_Static().
unsigned int MaxPlusAnalysis::TokenFIFO_Static::begin [private] |
Referenced by add(), append_front(), compare(), copy(), decreaseAll(), equals(), first(), getMax(), hashValue(), maxWith(), minus(), removeFirst(), size(), smooth(), streamOn(), and TokenFIFO_Static().
unsigned int MaxPlusAnalysis::TokenFIFO_Static::end [private] |
Referenced by add(), append(), compare(), copy(), decreaseAll(), equals(), getMax(), hashValue(), maxWith(), minus(), removeLast(), size(), smooth(), streamOn(), and TokenFIFO_Static().
Token* MaxPlusAnalysis::TokenFIFO_Static::tokens [private] |
Referenced by add(), append(), append_front(), compare(), copy(), decreaseAll(), equals(), first(), getMax(), hashValue(), maxWith(), minus(), removeFirst(), removeLast(), smooth(), streamOn(), and TokenFIFO_Static().
The documentation for this class was generated from the following files: