return new OntoSpreadStrategyVisitorPair(selectStrategy,new OntoSpreadBooleanRestrictionVisitor());
}
public static OntoSpreadStrategyVisitorPair createStopStrategy(int min, int max, double minActivation){
OntoSpreadCompositeRestriction restrictions = new OntoSpreadCompositeRestriction();
restrictions.getRestrictions().add(new OntoSpreadRestrictionMinConcepts(min));
restrictions.getRestrictions().add(new OntoSpreadRestrictionMaxConcepts(max));
restrictions.getRestrictions().add(new OntoSpreadRestrictionMinActivationValue(minActivation));
OntoSpreadStrategy stopStrategy = new OntoSpreadSimpleStrategy(restrictions);
return new OntoSpreadStrategyVisitorPair(stopStrategy,new OntoSpreadBooleanRestrictionVisitor());
}