public class ConstraintBlockerTerm extends Object implements Term
ConstraintBlockerTermGenerator
for details on the constraint blocking process.Constructor and Description |
---|
ConstraintBlockerTerm(RandomVariableAtom[] atoms,
WeightedGroundRule[] incidentGRs,
boolean exactlyOne)
Takes ownership of all the passed in arrays.
|
Modifier and Type | Method and Description |
---|---|
RandomVariableAtom[] |
getAtoms() |
boolean |
getExactlyOne() |
WeightedGroundRule[] |
getIncidentGRs() |
void |
randomlyInitialize()
Randomly initializes the RandomVariableAtoms to a feasible state.
|
int |
size() |
public ConstraintBlockerTerm(RandomVariableAtom[] atoms, WeightedGroundRule[] incidentGRs, boolean exactlyOne)
public RandomVariableAtom[] getAtoms()
public WeightedGroundRule[] getIncidentGRs()
public boolean getExactlyOne()
public int size()
public void randomlyInitialize()
Copyright © 2018 University of California, Santa Cruz. All rights reserved.