aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main/java/com/yahoo/tensor/evaluation/EvaluationContext.java
blob: fdd1ecc04f4556d1cfff09d3f5b8746fae86766b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.tensor.evaluation;

import com.yahoo.tensor.Tensor;

/**
 * An evaluation context which is passed down to all nested functions during evaluation.
 *
 * @author bratseth
 */
public interface EvaluationContext<NAMETYPE extends Name> extends TypeContext<NAMETYPE> {

    /** Returns the tensor bound to this name, or null if none */
    Tensor getTensor(String name);

}