InteractionPredictionSimulation.GNNSimulation
, InteractionPredictionSimulation.RandomSimulation
, InteractionPredictionSimulation.RepeatSimulation
, InteractionPredictionSimulation.TFSimulation
public abstract class Simulation
extends java.lang.Object
Dataset
and assesses the outcome of mining them with an implemented type of miner passed to its
run(Dataset, Measure)
method.
Derived classes of this abstract one should implement its createMiner(ContextualEgoNetwork)
method that creates the type of miner being tested.Constructor | Description |
---|---|
Simulation() |
Modifier and Type | Method | Description |
---|---|---|
abstract SocialGraphMiner |
createMiner(eu.h2020.helios_social.core.contextualegonetwork.ContextualEgoNetwork cen) |
|
Measure |
run(mklab.JGNN.datasets.Dataset dataset,
Measure measure) |
|
Simulation |
setLastPredictionToAvoid(int avoidLastPredictions) |
|
Simulation |
setMaxInteractions(int maxInteractions) |
public abstract SocialGraphMiner createMiner(eu.h2020.helios_social.core.contextualegonetwork.ContextualEgoNetwork cen)
public Simulation setMaxInteractions(int maxInteractions)
public Simulation setLastPredictionToAvoid(int avoidLastPredictions)