|
Bratmobile
|
Adds and removes vertices from the evaluation queue. More...
#include <attentive.h>
Public Member Functions | |
| void | addToEvaluationQueue (std::vector< vertexDescriptor > &evaluationQueue, vertexDescriptor v1, TransitionSystem &g, vertexDescriptor v) |
| Adds to evaluation queue: if the vertex represents a successful task, it is added to the end of the queue regardless of direction. If the vertex after lastAdded (representing a connecting vertex) is a successful straight task, lastAdded is removed from the queue. More... | |
| void | reset (vertexDescriptor v=TransitionSystem::null_vertex()) |
Protected Attributes | |
| vertexDescriptor | lastAdded =TransitionSystem::null_vertex() |
Adds and removes vertices from the evaluation queue.
| void AttentiveConfigurator::EvaluationQueueManager::addToEvaluationQueue | ( | std::vector< vertexDescriptor > & | evaluationQueue, |
| vertexDescriptor | v1, | ||
| TransitionSystem & | g, | ||
| vertexDescriptor | v | ||
| ) |
Adds to evaluation queue: if the vertex represents a successful task, it is added to the end of the queue regardless of direction. If the vertex after lastAdded (representing a connecting vertex) is a successful straight task, lastAdded is removed from the queue.
| evaluationQueue | |
| v1 | the vertex just added to the transition system |
| g | the transition system |
| v | the source of the expansion of the module |