#include <SingleStepDuration.h>
Inheritance diagram for SingleStepDurationPredictor:
Public Member Functions | |
SingleStepDurationPredictor (predictorparams ¶ms) | |
unsigned long | getCurrentContextDuration () const |
membershiplist_duration | getNextContextsWithDuration (unsigned int offset=0) const |
membershiplist_duration | getNextContextsWithDuration (unsigned long startContext, unsigned long startDuration, unsigned int offset=0) const |
virtual void | addContexts (const membershiplist *contexts, time_t time) |
virtual void | addContext (unsigned long contextId, time_t time) |
virtual unsigned long | getNextContext () const |
virtual membershiplist | getNextContexts () const |
virtual contexttrajectory | getContextTrajectory (unsigned int start, unsigned int end) const |
virtual unsigned long | getContextAt (time_t time) const |
virtual membershiplist | getContextsAt (time_t time) const |
virtual string | serialize () const |
virtual void | unserialize (string data) |
virtual string | toString () const |
Classes | |
struct | contextinfo |
|
|
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
|
|
Implements PredictorAlgorithm. |
|
Implements PredictorAlgorithm. |
|
|
|
|
|
Serialize a predictors data to a string
Implements PredictorAlgorithm. |
|
This is only for testing. Implements PredictorAlgorithm. |
|
Unserialize a predictors data from a string
Implements PredictorAlgorithm. |