Package tools.refinery.generator
Interface ModelGenerator
- All Superinterfaces:
ModelFacade
- All Known Implementing Classes:
ModelGeneratorImpl
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
generate()
default void
generateWithTimeout
(long l, TimeUnit timeUnit) int
long
int
boolean
void
loadSolution
(int index) void
setMaxNumberOfSolutions
(int maxNumberOfSolutions) void
setRandomSeed
(long randomSeed) tryGenerateWithTimeout
(long l, TimeUnit timeUnit) Methods inherited from interface tools.refinery.generator.ModelFacade
checkConsistency, getConcreteness, getInitializationResult, getModel, getModelStore, getNodesMetadata, getPartialInterpretation, getPartialInterpretation, getProblemTrace, getRelationsMetadata, serialize
-
Method Details
-
getRandomSeed
long getRandomSeed() -
setRandomSeed
void setRandomSeed(long randomSeed) -
getMaxNumberOfSolutions
int getMaxNumberOfSolutions() -
setMaxNumberOfSolutions
void setMaxNumberOfSolutions(int maxNumberOfSolutions) -
getSolutionCount
int getSolutionCount() -
loadSolution
void loadSolution(int index) -
isLastGenerationSuccessful
boolean isLastGenerationSuccessful() -
tryGenerate
GeneratorResult tryGenerate() -
generate
default void generate() -
tryGenerateWithTimeout
-
generateWithTimeout
-