diff options
Diffstat (limited to 'subprojects/store-dse/src/main/java/tools/refinery/store/dse/internal/DesignSpaceExplorationStoreAdapterImpl.java')
-rw-r--r-- | subprojects/store-dse/src/main/java/tools/refinery/store/dse/internal/DesignSpaceExplorationStoreAdapterImpl.java | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/subprojects/store-dse/src/main/java/tools/refinery/store/dse/internal/DesignSpaceExplorationStoreAdapterImpl.java b/subprojects/store-dse/src/main/java/tools/refinery/store/dse/internal/DesignSpaceExplorationStoreAdapterImpl.java deleted file mode 100644 index fea39886..00000000 --- a/subprojects/store-dse/src/main/java/tools/refinery/store/dse/internal/DesignSpaceExplorationStoreAdapterImpl.java +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | /* | ||
2 | * SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/> | ||
3 | * | ||
4 | * SPDX-License-Identifier: EPL-2.0 | ||
5 | */ | ||
6 | package tools.refinery.store.dse.internal; | ||
7 | |||
8 | import tools.refinery.store.dse.DesignSpaceExplorationStoreAdapter; | ||
9 | import tools.refinery.store.dse.Strategy; | ||
10 | import tools.refinery.store.dse.objectives.Objective; | ||
11 | import tools.refinery.store.model.Model; | ||
12 | import tools.refinery.store.model.ModelStore; | ||
13 | import tools.refinery.store.query.dnf.RelationalQuery; | ||
14 | |||
15 | import java.util.List; | ||
16 | import java.util.Set; | ||
17 | |||
18 | public class DesignSpaceExplorationStoreAdapterImpl implements DesignSpaceExplorationStoreAdapter { | ||
19 | private final ModelStore store; | ||
20 | private final Set<TransformationRule> transformationSpecifications; | ||
21 | private final Set<RelationalQuery> globalConstraints; | ||
22 | private final List<Objective> objectives; | ||
23 | private final Strategy strategy; | ||
24 | |||
25 | public DesignSpaceExplorationStoreAdapterImpl(ModelStore store, | ||
26 | Set<TransformationRule> transformationSpecifications, | ||
27 | Set<RelationalQuery> globalConstraints, | ||
28 | List<Objective> objectives, Strategy strategy) { | ||
29 | this.store = store; | ||
30 | this.transformationSpecifications = transformationSpecifications; | ||
31 | this.globalConstraints = globalConstraints; | ||
32 | this.objectives = objectives; | ||
33 | this.strategy = strategy; | ||
34 | } | ||
35 | |||
36 | @Override | ||
37 | public ModelStore getStore() { | ||
38 | return store; | ||
39 | } | ||
40 | |||
41 | @Override | ||
42 | public DesignSpaceExplorationAdapterImpl createModelAdapter(Model model) { | ||
43 | return new DesignSpaceExplorationAdapterImpl(model, this); | ||
44 | } | ||
45 | |||
46 | @Override | ||
47 | public Set<TransformationRule> getTransformationSpecifications() { | ||
48 | return transformationSpecifications; | ||
49 | } | ||
50 | |||
51 | @Override | ||
52 | public Set<RelationalQuery> getGlobalConstraints() { | ||
53 | return globalConstraints; | ||
54 | } | ||
55 | |||
56 | @Override | ||
57 | public List<Objective> getObjectives() { | ||
58 | return objectives; | ||
59 | } | ||
60 | |||
61 | @Override | ||
62 | public Strategy getStrategy() { | ||
63 | return strategy; | ||
64 | } | ||
65 | } | ||