diff options
Diffstat (limited to 'Solvers')
2 files changed, 8 insertions, 1 deletions
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend index bf593add..6dc40705 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/neighbourhood/PartialInterpretation2NeighbourhoodRepresentation.xtend | |||
@@ -41,6 +41,13 @@ abstract class PartialInterpretation2NeighbourhoodRepresentation<ModelRepresenta | |||
41 | return createRepresentation(model,range,parallels,maxNumber,null,null) | 41 | return createRepresentation(model,range,parallels,maxNumber,null,null) |
42 | } | 42 | } |
43 | 43 | ||
44 | /** | ||
45 | * Creates a neighbourhood representation with traces | ||
46 | * @param model The model to be represented. | ||
47 | * @param range The range of the neighbourhood. | ||
48 | * @param parallels The maximal number of parallel references to be differentiated. | ||
49 | * @param maxNumber The maximal number of elements in a equivalence class that chan be differentiated. | ||
50 | */ | ||
44 | def public createRepresentation( | 51 | def public createRepresentation( |
45 | PartialInterpretation model, | 52 | PartialInterpretation model, |
46 | int range, int parallels, int maxNumber, | 53 | int range, int parallels, int maxNumber, |
diff --git a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend index b6d2043d..a86bcd1f 100644 --- a/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend +++ b/Solvers/VIATRA-Solver/hu.bme.mit.inf.dslreasoner.viatrasolver.partialinterpretationlanguage/src/hu/bme/mit/inf/dslreasoner/viatrasolver/partialinterpretationlanguage/statecoder/NeighbourhoodBasedStateCoderFactory.xtend | |||
@@ -43,7 +43,7 @@ class NeighbourhoodBasedStateCoderFactory implements IStateCoderFactory { | |||
43 | val Set<RelationDeclaration> relevantRelations | 43 | val Set<RelationDeclaration> relevantRelations |
44 | 44 | ||
45 | public new() { | 45 | public new() { |
46 | this.range = PartialInterpretation2NeighbourhoodRepresentation::FixPointRage | 46 | this.range = PartialInterpretation2NeighbourhoodRepresentation::GraphWidthRange |
47 | this.parallels = PartialInterpretation2NeighbourhoodRepresentation::FullParallels | 47 | this.parallels = PartialInterpretation2NeighbourhoodRepresentation::FullParallels |
48 | this.maxNumber = PartialInterpretation2NeighbourhoodRepresentation::MaxNumbers | 48 | this.maxNumber = PartialInterpretation2NeighbourhoodRepresentation::MaxNumbers |
49 | this.relevantTypes = null | 49 | this.relevantTypes = null |