org.fmph.knet.infection.simple

## Class Infection

- java.lang.Object
- - org.fmph.knet.infection.simple.Infection

-     public class Infection
      extends java.lang.Object

  Specifikacia infekcie Nastavuje minimalnu a maximalnu dlzku nakazenia a pravdepodobnost nakazenia zdraveho jednica.
  Author:
    peter nather

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Infection(int minInfectionTime, int maxInfectionTime, double infectionProbability)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getMaximalInfectionTime()` Minimaln doba aku bude infikovany jedinec chory
    `int` | `getMinimalInfectionTime()` Maximalna doba aku bude infikovany jedinec chory
    `double` | `probability()` Pravdepodobnost, ze sa jedinec nainfikuje, ak pride do styku s infekciou

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Infection

          public Infection(int minInfectionTime,
                   int maxInfectionTime,
                   double infectionProbability)

  - ### Method Detail

    - #### getMinimalInfectionTime

          public int getMinimalInfectionTime()

      Maximalna doba aku bude infikovany jedinec chory
      Returns:

    - #### getMaximalInfectionTime

          public int getMaximalInfectionTime()

      Minimaln doba aku bude infikovany jedinec chory
      Returns:

    - #### probability

          public double probability()

      Pravdepodobnost, ze sa jedinec nainfikuje, ak pride do styku s infekciou
      Returns: