Class ToyCliquesFiller
- java.lang.Object
-
- ch.ethz.matsim.socialnetworkgeneration.toy.ToyCliquesFiller
-
- All Implemented Interfaces:
CliquesFiller
public class ToyCliquesFiller extends Object implements CliquesFiller
- Author:
- thibautd
-
-
Constructor Summary
Constructors Constructor Description ToyCliquesFiller(ToySocialNetworkConfigGroup configGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Ego>sampleClique(CliqueStub stub, SpatialTree<double[],CliqueStub> freeStubs)Sample a feasible clique, fills the alters lists of the egos, and returns the clique.
-
-
-
Constructor Detail
-
ToyCliquesFiller
@Inject public ToyCliquesFiller(ToySocialNetworkConfigGroup configGroup)
-
-
Method Detail
-
sampleClique
public Set<Ego> sampleClique(CliqueStub stub, SpatialTree<double[],CliqueStub> freeStubs)
Description copied from interface:CliquesFillerSample a feasible clique, fills the alters lists of the egos, and returns the clique.- Specified by:
sampleCliquein interfaceCliquesFiller- Parameters:
stub- the "center" of the cliquefreeStubs- a spatial tree containing stubs that are not yet filled- Returns:
- The set of egos pertaining to the clique, including the "center", already modified.
-
-