Logo
  • Features
  • Installation instructions
  • Model data
  • Quick Start Guide
  • Tutorial
  • Input files and formats
  • Usage
  • Running on a cluster
  • Help and support
  • Contributing
  • Developer Support
  • Roadmap
  • Packaging releases
  • Developer’s guide
  • Snag list
  • Documentation
    • MetaWards.app
    • MetaWards
      • MetaWards API Detail
        • Classes
        • Functions
    • MetaWards.iterators
    • MetaWards.extractors
    • MetaWards.mixers
    • MetaWards.movers
    • MetaWards.analysis
    • MetaWards.utils
    • MetaWards.themes
  • Changelog
  • Acknowledgements
MetaWards
  • »
  • Documentation »
  • MetaWards »
  • MetaWards API Detail »
  • metawards.Link
Next Previous

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

distance The distance between the two wards connected by this link
ifrom Index of the origin node (ward)
ito Index of the destination node (ward)
suscept Number of susceptibles in the case of the work matrix.
weight Weight 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

Next Previous

Last updated on Jul 22, 2020.