mirror of https://github.com/vacp2p/research.git
networkType
This commit is contained in:
parent
40a05e53a0
commit
96ab91b383
|
@ -6,7 +6,14 @@
|
|||
import matplotlib.pyplot as plt
|
||||
import numpy as np
|
||||
import math
|
||||
|
||||
import typer
|
||||
from enum import Enum, EnumMeta
|
||||
|
||||
class networkType(Enum):
|
||||
NEWMANWATTSSTROGATZ = "newmanwattsstrogatz" # mesh, smallworld
|
||||
REGULAR = "regular" # libp2p
|
||||
|
||||
|
||||
# Util and format functions
|
||||
#-----------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue