dk.deepthought.sidious.explanation
Class ExplanationEntry

java.lang.Object
  extended by dk.deepthought.sidious.explanation.ExplanationEntry

@Immutable
public class ExplanationEntry
extends java.lang.Object

Helper class for representing a key-value pair.

Author:
Deepthought

Field Summary
private  java.lang.String ruleName
          The ruleName.
private  double value
          The value.
 
Constructor Summary
ExplanationEntry(java.lang.String ruleName, double value)
          Creates an entry set.
 
Method Summary
 java.lang.String getRuleName()
          Gets the ruleName.
 double getValue()
          Gets the value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ruleName

private final java.lang.String ruleName
The ruleName.


value

private final double value
The value.

Constructor Detail

ExplanationEntry

public ExplanationEntry(java.lang.String ruleName,
                        double value)
Creates an entry set.

Parameters:
ruleName - the ruleName
value - the value
Method Detail

getRuleName

public java.lang.String getRuleName()
Gets the ruleName.

Returns:
the ruleName

getValue

public double getValue()
Gets the value.

Returns:
the value

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © Deepthought Development - All Rights Reserved.