aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/ranking/Evaluator.java
blob: 9dab252e9a4d496e83b9ec8c0801afdb1e9d020f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Vespa.ai. 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();
}