smp::model_checker_mu_calculus< typeparams > Class Template Reference

Implements the mu-calculus model checker. More...

#include <mu_calculus.h>

Inheritance diagram for smp::model_checker_mu_calculus< typeparams >:
smp::model_checker_base< typeparams >

List of all members.

Public Member Functions

int mc_update_insert_vertex (vertex_t *vertex_new)
 Update function for vertex insertion.
int mc_update_insert_edge (edge_t *edge_new)
 Update function for edge insertion.
int mc_update_delete_vertex (vertex_t *vertex_new)
 Update function for vertex deletion.
int mc_update_delete_edge (edge_t *edge_new)
 Update function for edge insertion.
int get_solution (trajectory_t &trajectory_out)
 Returns a trajectory, if one exists, that solves the problem.

Public Attributes

rModelChecker ms
 An instance of the mu-calculus model checker external library.

Detailed Description

template<class typeparams>
class smp::model_checker_mu_calculus< typeparams >

Implements the mu-calculus model checker.

This class inherits from the model_checker_base class. It implements the mu-calculus model checker using the mu-calculus external libraries that are included with the smp library.

Examples:

libbot_rrg_single_integrator_mu_calculus.cpp, and standalone_rrg_single_integrator_mu_calculus.cpp.


Member Function Documentation

template<class typeparams >
int smp::model_checker_mu_calculus< typeparams >::get_solution ( trajectory_t trajectory_out) [virtual]

Returns a trajectory, if one exists, that solves the problem.

This function can be called by the user to get a trajectory that solves the particular problem at hand. If the problem involves reaching a goal set, then this function will return a trajectory that does so, if such a trajectory currently exists in the graph.

Parameters:
trajectory_outThe trajectory output by the function. Set to an empty trajectory if no trajectory that solves the problem is present in the graph.
Returns:
Returns 1 for success, a non-positive value to indiacate error.

Implements smp::model_checker_base< typeparams >.

template<class typeparams >
int smp::model_checker_mu_calculus< typeparams >::mc_update_delete_edge ( edge_t edge_in) [virtual]

Update function for edge insertion.

This function is called by the planner whenever an edge is delete from the graph. A pointer to the edge is given as an argument.

Parameters:
edge_inA pointer to deleted edge.
Returns:
Return 1 for success, a non-positive value to indiacate error.

Implements smp::model_checker_base< typeparams >.

template<class typeparams >
int smp::model_checker_mu_calculus< typeparams >::mc_update_delete_vertex ( vertex_t vertex_in) [virtual]

Update function for vertex deletion.

This function is called by the planner whenever a vertex is deleted from the graph. A pointer to the vertex is given as an argument.

Parameters:
vertex_inA pointer to deleted vertex.
Returns:
Return 1 if success, a non-positive value to indiacate error.

Implements smp::model_checker_base< typeparams >.

template<class typeparams >
int smp::model_checker_mu_calculus< typeparams >::mc_update_insert_edge ( edge_t edge_in) [virtual]

Update function for edge insertion.

This function is called by the planner whenever a new edge is added to the graph. A pointer to the new edge is given as an argument.

Parameters:
edge_inA pointer to the new edge.
Returns:
Return 1 for success, a non-positive value to indiacate error.

Implements smp::model_checker_base< typeparams >.

template<class typeparams >
int smp::model_checker_mu_calculus< typeparams >::mc_update_insert_vertex ( vertex_t vertex_in) [virtual]

Update function for vertex insertion.

This function is called by the planner whenever a new vertex is added to the graph. A pointer to the new vertex is given as an argument.

Parameters:
vertex_inA pointer to the new vertex.
Returns:
Return 1 if success, a non-positive value to indiacate error.

Implements smp::model_checker_base< typeparams >.


Member Data Documentation

template<class typeparams >
rModelChecker smp::model_checker_mu_calculus< typeparams >::ms

An instance of the mu-calculus model checker external library.

This variable instantiates the main class of the external library that carries out the mu-calculus model checking operation.


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