diff options
Diffstat (limited to 'subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/traceability/TraceInfo.java')
-rw-r--r-- | subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/traceability/TraceInfo.java | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/traceability/TraceInfo.java b/subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/traceability/TraceInfo.java new file mode 100644 index 00000000..e1d440db --- /dev/null +++ b/subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/traceability/TraceInfo.java | |||
@@ -0,0 +1,33 @@ | |||
1 | /******************************************************************************* | ||
2 | * Copyright (c) 2010-2014, Bergmann Gabor, Istvan Rath and Daniel Varro | ||
3 | * This program and the accompanying materials are made available under the | ||
4 | * terms of the Eclipse Public License v. 2.0 which is available at | ||
5 | * http://www.eclipse.org/legal/epl-v20.html. | ||
6 | * | ||
7 | * SPDX-License-Identifier: EPL-2.0 | ||
8 | *******************************************************************************/ | ||
9 | package tools.refinery.viatra.runtime.rete.traceability; | ||
10 | |||
11 | import tools.refinery.viatra.runtime.rete.network.Node; | ||
12 | |||
13 | |||
14 | /** | ||
15 | * Traces the node back to a purpose for which the node was built, | ||
16 | * to explain why the node is there and what it means. | ||
17 | * @author Bergmann Gabor | ||
18 | */ | ||
19 | public interface TraceInfo { | ||
20 | boolean propagateToIndexerParent(); | ||
21 | boolean propagateFromIndexerToSupplierParent(); | ||
22 | boolean propagateFromStandardNodeToSupplierParent(); | ||
23 | boolean propagateToProductionNodeParentAlso(); | ||
24 | |||
25 | void assignNode(Node node); | ||
26 | Node getNode(); | ||
27 | } | ||
28 | // /** | ||
29 | // * The semantics of the tuples contained in this node. | ||
30 | // * @return a tuple of correct size representing the semantics of each position. | ||
31 | // * @post not null | ||
32 | // */ | ||
33 | // Tuple getSemantics(); \ No newline at end of file | ||