public class JIPipeAlgorithmTargetRanking extends Object implements RankingFunction<Object>
JIPipeNodeInfo
or JIPipeGraphNode
instances
It ranks by following values:
- search string (node name)
- search string (node description)
- data type compatibility (0 = not, -1=nontrivial, -2=trivial, -3=exact match)
- already occupied or not (no = 0, yes = 1)Constructor and Description |
---|
JIPipeAlgorithmTargetRanking(JIPipeDataSlot sourceSlot) |
Modifier and Type | Method and Description |
---|---|
int[] |
rank(Object value,
String[] filterStrings)
Ranks the value in conjunction with the filter strings
|
public JIPipeAlgorithmTargetRanking(JIPipeDataSlot sourceSlot)
public int[] rank(Object value, String[] filterStrings)
RankingFunction
rank
in interface RankingFunction<Object>
value
- the valuefilterStrings
- the filter strings (can be null or empty)Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.