12#ifndef MCRL2_DATA_DETAIL_PROVER_BDD2DOT_H
13#define MCRL2_DATA_DETAIL_PROVER_BDD2DOT_H
39 std::map < atermpp::aterm, atermpp::aterm_int>
f_visited;
71 std::size_t v_true_number =
f_visited[v_true_branch].value();
72 std::size_t v_false_number =
f_visited[v_false_branch].value();
An integer term stores a single std::size_t value. It carries no arguments.
The class BDD2Dot offers the ability to write binary decision diagrams to dot files....
std::ofstream f_dot_file
The file the output is written to.
void output_bdd(const data_expression &a_bdd, const std::string &a_file_name)
Writes the BDD it receives as input to a file.
std::map< atermpp::aterm, atermpp::aterm_int > f_visited
A table containing all the visited nodes. It maps these nodes to the corresponding node numbers.
void aux_output_bdd(const data_expression &a_bdd)
Writes the BDD it receives to BDD2Dot::f_dot_file.
BDD_Info f_bdd_info
A class that gives information about the structure of BDDs.
int f_node_number
The smallest unused node number.
The class BDD_Info provides information about the structure of binary decision diagrams.
static const mcrl2::data::data_expression & get_true_branch(const mcrl2::data::data_expression &a_bdd)
Method that returns the true-branch of a BDD.
static bool is_if_then_else(const data_expression &a_bdd)
Method that indicates wether or not the root of a BDD is a guard node.
static bool is_false(const data_expression &a_bdd)
Method that indicates whether or not a BDD equals false.
static const mcrl2::data::data_expression & get_guard(const mcrl2::data::data_expression &a_bdd)
Method that returns the guard of a BDD.
static const mcrl2::data::data_expression & get_false_branch(const mcrl2::data::data_expression &a_bdd)
Method that returns the false-branch of a BDD.
static bool is_true(const data_expression &a_bdd)
Method that indicates whether or not a BDD equals true.
std::string pp(const abstraction &x)
A class that takes a linear process specification and checks all tau-summands of that LPS for conflue...