aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/store-reasoning/src/main/java/tools/refinery/store/reasoning/translator/base/TranslatedBaseDecision.java
blob: 4782eb46e2504818ed36f7fb8f20f6ececda0fe0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
 * SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/>
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package tools.refinery.store.reasoning.translator.base;

import tools.refinery.store.model.Model;
import tools.refinery.store.query.term.Variable;
import tools.refinery.store.query.literal.CallPolarity;
import tools.refinery.store.query.literal.Literal;
import tools.refinery.store.reasoning.PartialInterpretation;
import tools.refinery.store.reasoning.ReasoningBuilder;
import tools.refinery.store.reasoning.literal.Modality;
import tools.refinery.store.reasoning.representation.PartialRelation;
import tools.refinery.store.reasoning.translator.Advice;
import tools.refinery.store.reasoning.translator.TranslatedRelation;
import tools.refinery.store.representation.Symbol;
import tools.refinery.store.representation.TruthValue;

import java.util.List;

class TranslatedBaseDecision implements TranslatedRelation {
	private final ReasoningBuilder reasoningBuilder;
	private final PartialRelation partialRelation;
	private final Symbol<TruthValue> symbol;

	public TranslatedBaseDecision(ReasoningBuilder reasoningBuilder, PartialRelation partialRelation,
								  Symbol<TruthValue> symbol) {
		this.reasoningBuilder = reasoningBuilder;
		this.partialRelation = partialRelation;
		this.symbol = symbol;
	}

	@Override
	public PartialRelation getSource() {
		return partialRelation;
	}

	@Override
	public void configure(List<Advice> advices) {

	}

	@Override
	public List<Literal> call(CallPolarity polarity, Modality modality, List<Variable> arguments) {
		return null;
	}

	@Override
	public PartialInterpretation<TruthValue, Boolean> createPartialInterpretation(Model model) {
		return null;
	}
}