Uses of Class
de.tubs.pandemieinc.Pathogen
-
Packages that use Pathogen Package Description de.tubs.pandemieinc de.tubs.pandemieinc.events Provides the event classes for the Round and City object. -
-
Uses of Pathogen in de.tubs.pandemieinc
Fields in de.tubs.pandemieinc with type parameters of type Pathogen Modifier and Type Field Description Map<String,Pathogen>EventFactory. pathogensMap<String,Pathogen>Round. pathogensMethods in de.tubs.pandemieinc that return Pathogen Modifier and Type Method Description static PathogenActionHelper. findDeadlyPathogen(Iterable<Pathogen> pathogens)Find the deadliest pathogen from the given pathogens.static PathogenActionHelper. findFastlyPathogen(Iterable<Pathogen> pathogens)Find the fastes pathogen from the given pathogens.static PathogenActionHelper. findSlowlyPathogen(Iterable<Pathogen> pathogens)Find the slowest pathogen from the given pathogens.static PathogenPathogen. fromJsonNode(com.fasterxml.jackson.databind.JsonNode node)Parse a Pathogen from the given JsonNode.Methods in de.tubs.pandemieinc that return types with arguments of type Pathogen Modifier and Type Method Description static Map<City,Pathogen>ActionHelper. getCitiesWithOnePathogen(Round round)Get the cities with only one pathogen.static List<Pathogen>ActionHelper. getStartPathogens(Round round)static List<Pathogen>ActionHelper. pathogensNotInQuarantine(Round round)Get all pathogens that are not in quarantine.Methods in de.tubs.pandemieinc with parameters of type Pathogen Modifier and Type Method Description intPathogen. compareTo(Pathogen o)Select the order of the pathogens by the attributes.static StringActionPrinter. deployMedication(Pathogen pathogen, City city)Format the action deployMedication as JSON action object.static StringActionPrinter. deployVaccine(Pathogen pathogen, City city)Format the action deployVaccine as JSON action object.static StringActionPrinter. developMedication(Pathogen pathogen)Format the action developMedication as JSON action object.static StringActionPrinter. developVaccine(Pathogen pathogen)Format the action developVaccine as JSON action object.static intActionHelper. findHighestPathogenRound(Iterable<City> cities, Pathogen pathogen)Find the highest amount of rounds that a pathogen has in the given city collection.static intActionHelper. findHighestPathogenRound(Iterable<City> cities, Pathogen pathogen, BiPredicate<City,Pathogen> cityPredicate)Find the highest amount of rounds that a pathogen has in the given city collection.static booleanActionHelper. isCityInfectedWithPathogen(City city, Pathogen pathogen)Check, if the given city has the pathogen (infected).static booleanActionHelper. isMedicationAvailable(Round round, Pathogen pathogen)Check, if a medication for the given pathogen is available.static booleanActionHelper. isMedicationDeployed(City city, Pathogen pathogen)Check, if a medication for the given pathogen is deployed in the city.static booleanActionHelper. isMedicationInDevelopment(Round round, Pathogen pathogen)Check, if a medication for the given pathogen is in development.static booleanActionHelper. isVaccineAvailable(Round round, Pathogen pathogen)Check, if a vaccine for the given pathogen is available.static booleanActionHelper. isVaccineDeployed(City city, Pathogen pathogen)Check, if a vaccine for the given pathogen is deployed in the city.static booleanActionHelper. isVaccineInDevelopment(Round round, Pathogen pathogen)Check, if a vaccine for the given pathogen is in development.Method parameters in de.tubs.pandemieinc with type arguments of type Pathogen Modifier and Type Method Description static PathogenActionHelper. findDeadlyPathogen(Iterable<Pathogen> pathogens)Find the deadliest pathogen from the given pathogens.static PathogenActionHelper. findFastlyPathogen(Iterable<Pathogen> pathogens)Find the fastes pathogen from the given pathogens.static intActionHelper. findHighestPathogenRound(Iterable<City> cities, Pathogen pathogen, BiPredicate<City,Pathogen> cityPredicate)Find the highest amount of rounds that a pathogen has in the given city collection.static PathogenActionHelper. findSlowlyPathogen(Iterable<Pathogen> pathogens)Find the slowest pathogen from the given pathogens.static float[]Pathogen. pathogensToNetwork(List<Pathogen> pathogens)Parse the first round pathogens to the specified input layer for our neural networks. -
Uses of Pathogen in de.tubs.pandemieinc.events
Fields in de.tubs.pandemieinc.events declared as Pathogen Modifier and Type Field Description PathogenInDevelopmentEvent. pathogenPathogenOutbreakEvent. pathogenPathogenPathogenEvent. pathogenMethods in de.tubs.pandemieinc.events with parameters of type Pathogen Modifier and Type Method Description voidInDevelopmentEvent. setPathogen(Pathogen pathogen)voidPathogenEvent. setPathogen(Pathogen pathogen)Constructors in de.tubs.pandemieinc.events with parameters of type Pathogen Constructor Description BioTerrorismEvent(Pathogen pathogen, int round)MedicationAvailableEvent(Pathogen pathogen, int sinceRound)MedicationDeployedEvent(Pathogen pathogen, int round)MedicationInDevelopmentEvent(int sinceRound, int untilRound, Pathogen pathogen)OutbreakEvent(Pathogen pathogen, double prevalence, int sinceRound)PathogenEncounteredEvent(int round, Pathogen pathogen)VaccineAvailableEvent(Pathogen pathogen, int sinceRound)VaccineDeployedEvent(Pathogen pathogen, int round)VaccineInDevelopmentEvent(int sinceRound, int untilRound, Pathogen pathogen)
-