aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/ranking/Evaluator.java
blob: d2edb776c92065f551abd14a15b30e81cc5071fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.search.ranking;

import com.yahoo.tensor.Tensor;

import java.util.Collection;

interface Evaluator {
    Collection<String> needInputs();

    Evaluator bind(String name, Tensor value);

    double evaluateScore();
}