Commit 495272c1 authored by Jan Pöppel's avatar Jan Pöppel
Browse files

removed function not part of this PR

parent 0b1d8ca3
......@@ -83,15 +83,6 @@ class BayesianNetwork(object):
else:
raise Exception("There is no node with name {} in the network.".format(node))
def change_node_name(self, oldName, newName):
"""
Renames the given node to the new name.
Will have to modify all occurances of the old name.
"""
if oldName in self.node_lookup:
pass
else:
raise Exception("There is no node with name {} in the network.".format(oldName))
def get_all_nodes(self):
return self.graph.nodes()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment