aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/viatra-runtime-rete/src/main/java/tools/refinery/viatra/runtime/rete/traceability/TraceInfo.java
blob: e1d440dbf32ac22e3b9385fb00d454f5bed86d4d (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
/*******************************************************************************
 * Copyright (c) 2010-2014, Bergmann Gabor, Istvan Rath and Daniel Varro
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-v20.html.
 * 
 * SPDX-License-Identifier: EPL-2.0
 *******************************************************************************/
package tools.refinery.viatra.runtime.rete.traceability;

import tools.refinery.viatra.runtime.rete.network.Node;


/**
 * Traces the node back to a purpose for which the node was built, 
 * to explain why the node is there and what it means.
 * @author Bergmann Gabor
 */
public interface TraceInfo {
    boolean propagateToIndexerParent();
    boolean propagateFromIndexerToSupplierParent();
    boolean propagateFromStandardNodeToSupplierParent();  	
    boolean propagateToProductionNodeParentAlso();

    void assignNode(Node node);
    Node getNode();
}
// /**
// * The semantics of the tuples contained in this node.
// * @return a tuple of correct size representing the semantics of each position.
// * @post not null
// */
// Tuple getSemantics();