private StateDAOPairTO execute(Test test, RestrictionManagerHelper manager) throws ConceptNotFoundException {
logger.info("Execute");
OntoSpreadState state = new OntoSpreadState();
ScoredConceptTO[] initialConcepts = OntoSpreadTestUtils.createScoredConcepts(test.getOntoSpreadConfig().getInitialConcepts());
state.setInitialConcepts(initialConcepts);
OntoSpreadRelationWeight relationWeight = OntoSpreadTestUtils.createRelationWeight(test.getOntoSpreadConfig().getRelations().getLocations());
OntologyDAO ontologyDAO = OntoSpreadTestUtils.createOntologyDAO(test.getResources().getLocations());
OntoSpreadProcess process = new OntoSpreadProcess(
ontologyDAO,
OntoSpreadTestUtils.createDefaultPreAdjustment(test.getOntoSpreadConfig().getInitialConcepts().getValue()),
OntoSpreadTestUtils.createDefaultRun(ontologyDAO, manager.asStopRestriction(),manager.asSelectRestriction(),relationWeight, manager.getDegradationFunction()),