Bratmobile
Public Member Functions | Protected Attributes | List of all members
AttentiveConfigurator::EvaluationQueueManager Class Reference

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()
 

Detailed Description

Adds and removes vertices from the evaluation queue.

Member Function Documentation

◆ addToEvaluationQueue()

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.

Parameters
evaluationQueue
v1the vertex just added to the transition system
gthe transition system
vthe source of the expansion of the module

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