VirusParameters

The Virus inside the environment that infects entities.

class Object
trait Matchable
class Any
class Virus

Value members

Abstract methods

The average duration of the virus infection.

The average duration of the virus infection.

Returns:

the average days of infection.

Maximum distance of infection

Maximum distance of infection

Returns:

the maximum distance.

def name: String

The name of the virus inside the environment.

The name of the virus inside the environment.

Returns:

the name of the virus.

The ability of the virus to cause health damages.

The ability of the virus to cause health damages.

Returns:

the desease probability of the virus.

def spreadRate: Double

The ability of the virus to spread inside the population.

The ability of the virus to spread inside the population.

Returns:

the spread rate.

The Standard Deviation of positivity days.

The Standard Deviation of positivity days.

Returns:

the Standard Deviation of positivity days.