Package org.knime.core.ui.workflowcoach
Class NodeRecommendationManager.NodeRecommendation
java.lang.Object
org.knime.core.ui.workflowcoach.NodeRecommendationManager.NodeRecommendation
- All Implemented Interfaces:
Comparable<NodeRecommendationManager.NodeRecommendation>
- Enclosing class:
- NodeRecommendationManager
public static class NodeRecommendationManager.NodeRecommendation
extends Object
implements Comparable<NodeRecommendationManager.NodeRecommendation>
Object representing one node recommendation, including the node template itself and a frequency as a measure of a
certainty for the given recommendation.
- Author:
- Martin Horn, University of Konstanz
-
Method Summary
Modifier and TypeMethodDescriptionintbooleanintReturns the frequency (in percent), i.e.intReturns the total frequency summed over all node recommendations that have the SAME predecessor.inthashCode()
-
Method Details
-
getFrequency
public int getFrequency()Returns the frequency (in percent), i.e. how often this node recommendation appears in a node triple or pair (given by aNodeTripleProvider- Returns:
- the frequency
-
getTotalFrequency
public int getTotalFrequency()Returns the total frequency summed over all node recommendations that have the SAME predecessor.- Returns:
- the total frequency
-
getFactoryId
- Returns:
- the id as per
NodeFactory.getFactoryId()
-
compareTo
- Specified by:
compareToin interfaceComparable<NodeRecommendationManager.NodeRecommendation>
-
hashCode
public int hashCode() -
equals
-