weka.roughset
Class CutPoint

java.lang.Object
  |
  +--weka.roughset.CutPoint

public class CutPoint
extends Object


Constructor Summary
CutPoint(Attribute a, double c, Collection inBetween, Instances i)
           
CutPoint(CutPoint c, double cutValue, Collection inBetween)
           
 
Method Summary
 boolean equals(Object o)
           
 Attribute getAttribute()
           
 double getClassValue()
           
 double getCut()
           
 int getDebug()
          Get the value of debug.
 int getDiscerned()
           
 int getDiscerned(RoughInstances insts)
           
 int getDiscerned(SortedClasses classes)
           
 Instances getInstances()
           
 int[] getLeftModClass()
           
 int getLeftModClass(int i)
           
 int getLeftModDecision()
           
 int getLeftOfCut()
           
 RoughInstances getLeftOfCut(RoughInstances r)
           
 int[] getRightModClass()
           
 int getRightModClass(int i)
           
 int getRightModDecision()
           
 int getRightOfCut()
           
 RoughInstances getRightOfCut(RoughInstances r)
           
 boolean leftOfCut(Instance i)
           
 void setDebug(int v)
          Set the value of debug.
 String toInfoString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CutPoint

public CutPoint(Attribute a,
                double c,
                Collection inBetween,
                Instances i)
         throws UnsupportedAttributeTypeException

CutPoint

public CutPoint(CutPoint c,
                double cutValue,
                Collection inBetween)
         throws Exception
Method Detail

getDebug

public int getDebug()
Get the value of debug.

Returns:
value of debug.

setDebug

public void setDebug(int v)
Set the value of debug.

Parameters:
v - Value to assign to debug.

getInstances

public Instances getInstances()

getClassValue

public double getClassValue()

getLeftModClass

public int[] getLeftModClass()

getRightModClass

public int[] getRightModClass()

getLeftModClass

public int getLeftModClass(int i)

getRightModClass

public int getRightModClass(int i)

getLeftModDecision

public int getLeftModDecision()

getRightModDecision

public int getRightModDecision()

getAttribute

public Attribute getAttribute()

getCut

public double getCut()

getDiscerned

public int getDiscerned()

getLeftOfCut

public int getLeftOfCut()

getLeftOfCut

public RoughInstances getLeftOfCut(RoughInstances r)

getRightOfCut

public int getRightOfCut()

getRightOfCut

public RoughInstances getRightOfCut(RoughInstances r)

getDiscerned

public int getDiscerned(RoughInstances insts)

getDiscerned

public int getDiscerned(SortedClasses classes)

leftOfCut

public boolean leftOfCut(Instance i)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

toInfoString

public String toInfoString()