henryzord / ardennes

An Estimation of Distribution Algorithm for Decision-Tree Induction.
5 stars 1 forks source link

Optimize networkx.DiGraph nodes #9

Closed henryzord closed 7 years ago

henryzord commented 7 years ago

Currently we are storing unnecessary information in each node's dictionary. The info 'terminal', for example, can be safely replaced by len(tree.successors(x)) == 0.

henryzord commented 7 years ago

Fixed in d7af0758ffa481b8c0bd548828b458992117a932.