summaryrefslogtreecommitdiff
path: root/SANet/SANode.h
diff options
context:
space:
mode:
Diffstat (limited to 'SANet/SANode.h')
-rw-r--r--SANet/SANode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/SANet/SANode.h b/SANet/SANode.h
index 8dba108d618..f478d6887b0 100644
--- a/SANet/SANode.h
+++ b/SANet/SANode.h
@@ -156,6 +156,7 @@ namespace SANet {
virtual void print_xml (std::basic_ostream<char, std::char_traits<char> >& strm) = 0;
+
protected:
/// Unique ID of node (for identification within network).
NodeID ID_;
@@ -335,6 +336,11 @@ namespace SANet {
*/
virtual void update_effect (CondID ID, CondNode *node, LinkWeight weight);
+ void set_pos_util(double util);
+
+ Utility_Info get_pos_util();
+
+
protected:
/// Unconditional prior probability of success.
Probability prior_prob_;