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 matplotlib.pyplot as plt
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import math
|
import math
|
||||||
|
|
||||||
import typer
|
import typer
|
||||||
|
from enum import Enum, EnumMeta
|
||||||
|
|
||||||
|
class networkType(Enum):
|
||||||
|
NEWMANWATTSSTROGATZ = "newmanwattsstrogatz" # mesh, smallworld
|
||||||
|
REGULAR = "regular" # libp2p
|
||||||
|
|
||||||
|
|
||||||
# Util and format functions
|
# Util and format functions
|
||||||
#-----------------------------------------------------------
|
#-----------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue