a42bccaf0c
Some of the code was nasty. I cleaned it up a bit. I also started moving tests into a tests/ directory. You can run python -m unittest to run them. I still need to add more tests to make sure things are working as expected.
12 lines
326 B
Python
12 lines
326 B
Python
from .expr import Node, choose, majority
|
|
from .quorum_system import QuorumSystem, Strategy
|
|
from .viz import (
|
|
plot_node_load,
|
|
plot_node_load_on,
|
|
plot_node_utilization,
|
|
plot_node_utilization_on,
|
|
plot_node_throughput,
|
|
plot_node_throughput_on,
|
|
plot_load_distribution,
|
|
plot_load_distribution_on,
|
|
)
|