quoracle/quorums/__init__.py
Michael Whittaker a42bccaf0c Tidied up code.
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.
2021-01-30 18:47:25 -08:00

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,
)