Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary Decision Diagrams #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions include/rvstd/bdd/bdd.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
* Copyright (c) 2023 for portions of the project HermesBDD are held by
* Luigi Capogrosso,
* Luca Geretti,
* Marco Cristani,
* Franco Fummi, and
* Tiziano Villa.
*
* Copyright (c) for the project RVSTD are held by Dogan Ulus, 2023.
*/

#ifndef BDD_HPP
#define BDD_HPP

#include <set>
#include <unordered_map>

namespace rvstd {
struct bdd {

/*!
* @brief '<bdd>' empty constructor.
*/
bdd();

/*!
* @brief Representation of literal '<v>'.
* @param v
*/
bdd(uint32_t v);

/// Representation of constant 'true'
static bdd true_;

/// Representation of constant 'false'
static bdd false_;

};
} // namespace rvstd

#endif