metawards.Link¶
-
class
metawards.Link(ifrom: int = None, ito: int = None, weight: float = None, suscept: float = None, distance: float = None)[source]¶ This is a link between nodes in the network
-
__init__(ifrom: int = None, ito: int = None, weight: float = None, suscept: float = None, distance: float = None) → None¶
Methods
__init__(ifrom, ito, weight, suscept, distance)Attributes
distanceThe distance between the two wards connected by this link ifromIndex of the origin node (ward) itoIndex of the destination node (ward) susceptNumber of susceptibles in the case of the work matrix. weightWeight of the link, used to save the original number of susceptibles in the work matrix -
distance= None¶ The distance between the two wards connected by this link
-
ifrom= None¶ Index of the origin node (ward)
-
ito= None¶ Index of the destination node (ward)
-
suscept= None¶ Number of susceptibles in the case of the work matrix. Used to save the weight of the play matrix
-
weight= None¶ Weight of the link, used to save the original number of susceptibles in the work matrix
-