Implements the mu-calculus model checker. More...
#include <mu_calculus.h>
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. |
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.
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.
trajectory_out | The trajectory output by the function. Set to an empty trajectory if no trajectory that solves the problem is present in the graph. |
Implements smp::model_checker_base< 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.
edge_in | A pointer to deleted edge. |
Implements smp::model_checker_base< 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.
vertex_in | A pointer to deleted vertex. |
Implements smp::model_checker_base< 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.
edge_in | A pointer to the new edge. |
Implements smp::model_checker_base< 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.
vertex_in | A pointer to the new vertex. |
Implements smp::model_checker_base< 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.