clickstream.py
Python 3.x (No additional library / package used.)
- Set the desired click number in
clickstream.py
.
clicks = 8 # The number of clicks can be modified.
- Run
clickstream.py
using python 3.x. - The iteration process takes time, so be patient and wait for the result. :)
- If you want to set the program for your own graph, just edit the codes located at
line 19
toline 87
.
# Start setting Nodes.
ordering = Node("ordering", True, [0])
refund = Node("refund", True, [0])
order = Node("order", False, [refund, ordering])
ordering.setConnected([order])
...