projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nodestack: eliminate get_future_value_expiration()
[model-checker.git]
/
nodestack.h
diff --git
a/nodestack.h
b/nodestack.h
index 94bb58ee1e64d235e4daf0801ee6861491c6b292..55991c3022a50dc67e51ca607f3ca33e3e638ce2 100644
(file)
--- a/
nodestack.h
+++ b/
nodestack.h
@@
-5,7
+5,6
@@
#ifndef __NODESTACK_H__
#define __NODESTACK_H__
#ifndef __NODESTACK_H__
#define __NODESTACK_H__
-#include <list>
#include <vector>
#include <cstddef>
#include <inttypes.h>
#include <vector>
#include <cstddef>
#include <inttypes.h>
@@
-44,7
+43,6
@@
struct fairness_info {
bool priority;
};
bool priority;
};
-
/**
* @brief A single node in a NodeStack
*
/**
* @brief A single node in a NodeStack
*
@@
-79,8
+77,7
@@
public:
Node * get_parent() const { return parent; }
bool add_future_value(uint64_t value, modelclock_t expiration);
Node * get_parent() const { return parent; }
bool add_future_value(uint64_t value, modelclock_t expiration);
- uint64_t get_future_value() const;
- modelclock_t get_future_value_expiration() const;
+ struct future_value get_future_value() const;
bool increment_future_value();
bool future_value_empty() const;
bool increment_future_value();
bool future_value_empty() const;