Class Simulation
java.lang.Object
com.hiddenswitch.spellsource.util.Simulation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBehaviourSuppliers
(Map<String, Class<? extends Behaviour>> availableBehaviours, List<String> behaviours) getCombinations
(boolean mirrors, Map<String, GameDeck> decks, boolean twoDifferentBehaviours) static ConcurrentMap<String,
GameDeck> static @NotNull Thread
getMonitor
(AtomicInteger counter, int total) static Map<String[],
SimulationResult> getResults
(Supplier<Behaviour> behaviourSupplier1, Supplier<Behaviour> behaviourSupplier2, int number, Map<String, GameDeck> decks, List<String[]> combinations, AtomicInteger matchesComplete) static void
writeResults
(PrintStream out, Map<String[], SimulationResult> results)
-
Constructor Details
-
Simulation
public Simulation()
-
-
Method Details
-
getBehaviourSuppliers
-
getAllBehaviours
-
getDecks
-
getCombinations
-
getResults
-
writeResults
-
getMonitor
-