public abstract class SubclassScorer<Params,A,B extends A> extends AbstractScorer<Params,A>
| Constructor and Description |
|---|
SubclassScorer(Class<? extends B> bClass) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
double |
getScoreFor(A field,
ScoreParameters<Params> scores)
Determine the score for the given field and parameters.
|
abstract double |
scoreSubclass(B cast,
ScoreParameters<Params> scores) |
scoreWith, workWithpublic final double getScoreFor(A field, ScoreParameters<Params> scores)
AbstractScorergetScoreFor in interface FScorer<Params,A>getScoreFor in class AbstractScorer<Params,A>field - Field to scorescores - Parameters and analyzes for the scoringpublic abstract double scoreSubclass(B cast, ScoreParameters<Params> scores)
public String getName()
Copyright © 2014. All rights reserved.