Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weka.associations.tertius
Class Predicate

    java.lang.Object
      weka.associations.tertius.Predicate

All Implemented Interfaces:
  java.io.Serializable

    public class Predicate

extends java.lang.Object
implements java.io.Serializable

Version:
  $Revision: 1.2.2.1 $
Author:
  Peter A. Flach, Nicolas Lachiche
See Also:
  Serialized Form

Constructor Summary
`Predicate(java.lang.String name, int index, boolean isClass)`

Method Summary
`void` | `addLiteral(Literal lit)`
`java.lang.String` | `description()`
`int` | `getIndex()`
`Literal` | `getLiteral(int index)`
`int` | `indexOf(Literal lit)`
`boolean` | `isClass()`
`int` | `numLiterals()`
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Predicate

    public Predicate(java.lang.String name,
                     int index,
                     boolean isClass)

Method Detail

### addLiteral

    public void addLiteral(Literal lit)

### getLiteral

    public Literal getLiteral(int index)

### getIndex

    public int getIndex()

### indexOf

    public int indexOf(Literal lit)

### numLiterals

    public int numLiterals()

### isClass

    public boolean isClass()

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### description

    public java.lang.String description()

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD