weka.roughset
Class Reducts

java.lang.Object
  |
  +--weka.roughset.Reducts
All Implemented Interfaces:
Cloneable

public class Reducts
extends Object
implements Cloneable


Constructor Summary
Reducts()
           
 
Method Summary
 void add(Reduct r)
           
 Object clone()
           
 boolean containsSubsetOf(Reduct r)
           
 void filter(double stability)
           
 Reduct get(int i)
           
 boolean getCompareDataSets()
          Get the value of compareDataSets.
 Instances getLastSubtable()
          Get the value of lastSubtable.
 int getNumSubtables()
          Get the value of numSubtables.
 HashSet getReducts()
          Get the value of reducts.
 Iterator iterator()
           
 int numProperReducts(Instances i)
           
 void setCompareDataSets(boolean v)
          Set the value of compareDataSets.
 void setLastSubtable(Instances v)
          Set the value of lastSubtable.
 void setNumSubtables(int v)
          Set the value of numSubtables.
 void setReducts(HashSet v)
          Set the value of reducts.
 int size()
           
 String toInfoString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Reducts

public Reducts()
Method Detail

add

public void add(Reduct r)

filter

public void filter(double stability)

containsSubsetOf

public boolean containsSubsetOf(Reduct r)

getReducts

public HashSet getReducts()
Get the value of reducts.

Returns:
value of reducts.

setReducts

public void setReducts(HashSet v)
Set the value of reducts.

Parameters:
v - Value to assign to reducts.

getCompareDataSets

public boolean getCompareDataSets()
Get the value of compareDataSets.

Returns:
value of compareDataSets.

setCompareDataSets

public void setCompareDataSets(boolean v)
Set the value of compareDataSets.

Parameters:
v - Value to assign to compareDataSets.

getNumSubtables

public int getNumSubtables()
Get the value of numSubtables.

Returns:
value of numSubtables.

setNumSubtables

public void setNumSubtables(int v)
Set the value of numSubtables.

Parameters:
v - Value to assign to numSubtables.

getLastSubtable

public Instances getLastSubtable()
Get the value of lastSubtable.

Returns:
value of lastSubtable.

setLastSubtable

public void setLastSubtable(Instances v)
Set the value of lastSubtable.

Parameters:
v - Value to assign to lastSubtable.

iterator

public Iterator iterator()

get

public Reduct get(int i)

size

public int size()

numProperReducts

public int numProperReducts(Instances i)

clone

public Object clone()
Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object

toInfoString

public String toInfoString()