public class QuotientPruningPolicy extends Object implements PruningPolicy
Constructor and Description |
---|
QuotientPruningPolicy(FOM fom,
double factor) |
Modifier and Type | Method and Description |
---|---|
void |
collect(int rightParent,
Rule left,
CondensedRule right) |
static PruningPolicy |
createQuotientPruningPolicy(FOM fom,
double factor) |
void |
foreachPrunedRulePair(int rightParent,
RulePairConsumer consumer) |
long |
numCollectedRules() |
long |
numIteratedRules() |
public QuotientPruningPolicy(FOM fom, double factor)
public void foreachPrunedRulePair(int rightParent, RulePairConsumer consumer)
foreachPrunedRulePair
in interface PruningPolicy
public void collect(int rightParent, Rule left, CondensedRule right)
collect
in interface PruningPolicy
public long numIteratedRules()
numIteratedRules
in interface PruningPolicy
public long numCollectedRules()
numCollectedRules
in interface PruningPolicy
public static PruningPolicy createQuotientPruningPolicy(FOM fom, double factor)
Copyright © 2017. All rights reserved.