A C D E G H I L M N P R S T U

A

Alphabet - interface de.fhdarmstadt.fbi.dtree.model.Alphabet.
An Alphabet is an set of symbols (characters in this case).
add(String) - Method in class de.fhdarmstadt.fbi.dtree.model.SimplePattern
Adds another constant element to the pattern.
addCharacter(Character) - Method in class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet
Adds the specified character to this alphabet if it is not already present.

C

Classification - class de.fhdarmstadt.fbi.dtree.model.Classification.
A classification enumeration for patterns and example data.
clear() - Method in class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet
Removes all elements from this alphabet.
clone() - Method in class de.fhdarmstadt.fbi.dtree.model.SimplePattern
Clones this pattern.
contains(Character) - Method in interface de.fhdarmstadt.fbi.dtree.model.Alphabet
Checks, whether the given character is contained in this alphabet.
contains(Character) - Method in class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet
Checks, whether the given character is contained in this alphabet.
contains(Character) - Method in class de.fhdarmstadt.fbi.dtree.model.SimpleAlphabet
Checks, whether the given character is contained in this alphabet.

D

DTree - class de.fhdarmstadt.fbi.dtree.model.DTree.
A decision tree implementation.
DTree(Alphabet) - Constructor for class de.fhdarmstadt.fbi.dtree.model.DTree
Creates a new decision tree for the given alphabet.
DTreeNode - class de.fhdarmstadt.fbi.dtree.model.DTreeNode.
Represents a node in a pattern matching decision tree.
DTreeNode() - Constructor for class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Creates a new DTreeNode with a positive match-all pattern.
DTreeNode(RegularPattern) - Constructor for class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Creates a new DTreeNode with the given regular pattern.
DTreeNodeTest - class de.fhdarmstadt.fbi.dtree.junit.model.DTreeNodeTest.
 
DTreeNodeTest(String) - Constructor for class de.fhdarmstadt.fbi.dtree.junit.model.DTreeNodeTest
 
DTreeTest - class de.fhdarmstadt.fbi.dtree.junit.model.DTreeTest.
 
DTreeTest(String) - Constructor for class de.fhdarmstadt.fbi.dtree.junit.model.DTreeTest
 
DataGenerator - class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator.
The DataGenerator can be used to generate test data for a given SimplePattern.
DataGenerator(SimplePattern, Alphabet) - Constructor for class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator
Creates a new DataGenerator for the given simple pattern.
DataSource - interface de.fhdarmstadt.fbi.dtree.testdata.DataSource.
The data source defines an iterator over a set of test data.
de.fhdarmstadt.fbi.dtree.evaluator - package de.fhdarmstadt.fbi.dtree.evaluator
Decision tree evaluation classes.
de.fhdarmstadt.fbi.dtree.junit - package de.fhdarmstadt.fbi.dtree.junit
 
de.fhdarmstadt.fbi.dtree.junit.model - package de.fhdarmstadt.fbi.dtree.junit.model
 
de.fhdarmstadt.fbi.dtree.model - package de.fhdarmstadt.fbi.dtree.model
The decision tree model classes and alphabet and pattern definitions.
de.fhdarmstadt.fbi.dtree.testdata - package de.fhdarmstadt.fbi.dtree.testdata
TestData classes and data generators.

E

EvaluationResult - class de.fhdarmstadt.fbi.dtree.evaluator.EvaluationResult.
The EvaluationResult contains all results from an evaluation of a decision tree node.
EvaluationResult(TestData[], TestData[], DTreeNode) - Constructor for class de.fhdarmstadt.fbi.dtree.evaluator.EvaluationResult
Creates a new evaluation result instance.
EvaluationResultTest - class de.fhdarmstadt.fbi.dtree.junit.EvaluationResultTest.
 
EvaluationResultTest(String) - Constructor for class de.fhdarmstadt.fbi.dtree.junit.EvaluationResultTest
 
Evaluator - class de.fhdarmstadt.fbi.dtree.evaluator.Evaluator.
The Evaluator is used to evaulate nodes from a decision tree.
Evaluator(Alphabet) - Constructor for class de.fhdarmstadt.fbi.dtree.evaluator.Evaluator
Creates a new Evaluator instance for the given alphabet.
EvaluatorTest - class de.fhdarmstadt.fbi.dtree.junit.EvaluatorTest.
 
EvaluatorTest(String) - Constructor for class de.fhdarmstadt.fbi.dtree.junit.EvaluatorTest
 
equals(Object) - Method in class de.fhdarmstadt.fbi.dtree.model.NodePattern
Checks, whether a certain object is equal to this pattern.
equals(Object) - Method in interface de.fhdarmstadt.fbi.dtree.model.RegularPattern
Checks, whether a certain object is equal to this pattern.
evaluate(DTreeNode, DataSource) - Method in class de.fhdarmstadt.fbi.dtree.evaluator.Evaluator
Evaulates all data stored in the datasource agains the given decision tree node.
evaluateAll(DTreeNode, DataSource) - Method in class de.fhdarmstadt.fbi.dtree.evaluator.Evaluator
Evaluates the given node and all child nodes against the data from the datasource.
evaluateTree(DTree, DataSource) - Static method in class de.fhdarmstadt.fbi.dtree.evaluator.Evaluator
Creates a new Evaluator and evaluates the given tree starting at the root node of the tree.

G

GeneratorDataSource - class de.fhdarmstadt.fbi.dtree.testdata.GeneratorDataSource.
A DataSource which reads its values from a DataGenerator.
GeneratorDataSource(DataGenerator, Classification) - Constructor for class de.fhdarmstadt.fbi.dtree.testdata.GeneratorDataSource
Creates a new GeneratorDataSource.
generateString(int) - Method in class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator
Generate the string for the given position.
getAlphabet() - Method in class de.fhdarmstadt.fbi.dtree.evaluator.Evaluator
Returns the (immutable) alphabet used in this evaluator.
getAlphabet() - Method in class de.fhdarmstadt.fbi.dtree.model.DTree
Returns the alphabet for this tree.
getAlphabet() - Method in class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator
Returns the alphabet used for the generation process.
getClassification() - Method in class de.fhdarmstadt.fbi.dtree.model.NodePattern
Returns the classification for this pattern.
getClassification() - Method in interface de.fhdarmstadt.fbi.dtree.model.RegularPattern
Returns the classification for this pattern.
getClassification() - Method in class de.fhdarmstadt.fbi.dtree.model.SimplePattern
Returns this pattern's classification.
getClassification() - Method in class de.fhdarmstadt.fbi.dtree.testdata.TestData
Returns the classification assigned to this test data instance.
getConstant(int) - Method in class de.fhdarmstadt.fbi.dtree.model.SimplePattern
Returns the n-th constant element in the pattern.
getConstantLength() - Method in class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator
Returns the size of the constant elements in the used pattern.
getData() - Method in class de.fhdarmstadt.fbi.dtree.testdata.TestData
Returns the string representing the test data.
getImmutableInstance() - Method in interface de.fhdarmstadt.fbi.dtree.model.Alphabet
Returns an immutable instance of this alphabet.
getImmutableInstance() - Method in class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet
Returns an immutable instance of this alphabet.
getImmutableInstance() - Method in class de.fhdarmstadt.fbi.dtree.model.SimpleAlphabet
Returns an immutable instance of this alphabet.
getMaxLength() - Method in class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator
Returns the maximum length of the generated patterns.
getMaxNumberOfPattern() - Method in class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator
Returns the maximum number of patterns, which are generatable using the current settings.
getMinLength() - Method in class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator
Returns the minimum length of the generated patterns.
getNegativeMatchCount() - Method in class de.fhdarmstadt.fbi.dtree.evaluator.EvaluationResult
Returns the number of negative matches.
getNegativeMatchNode() - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Returns the negative-match child node or null, if there is no next node.
getNegativeMatches() - Method in class de.fhdarmstadt.fbi.dtree.evaluator.EvaluationResult
Returns the collection of negative matches.
getNegativeMatchesClassification() - Method in class de.fhdarmstadt.fbi.dtree.evaluator.EvaluationResult
Returns the classification for the negative matches, either Classification.POSITIVE or Classification.NEGATIVE if all elements share the same classification or else Classification.UNKNOWN.
getParent() - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Returns the parent node of this tree node or null, if the node has no parent.
getPattern() - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Returns the pattern assigned with this node.
getPattern() - Method in class de.fhdarmstadt.fbi.dtree.model.NodePattern
Returns the regular pattern string.
getPattern() - Method in interface de.fhdarmstadt.fbi.dtree.model.RegularPattern
Returns a regular pattern in Perl syntax.
getPattern() - Method in class de.fhdarmstadt.fbi.dtree.model.SimplePattern
Returns a regular pattern in Perl syntax.
getPattern() - Method in class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator
Returns the regular pattern used in the data generator.
getPositiveMatchCount() - Method in class de.fhdarmstadt.fbi.dtree.evaluator.EvaluationResult
Returns the number of positive matches.
getPositiveMatchNode() - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Returns the positive-match child node or null, if there is no next node.
getPositiveMatches() - Method in class de.fhdarmstadt.fbi.dtree.evaluator.EvaluationResult
Returns the collection of positive matches.
getPositiveMatchesClassification() - Method in class de.fhdarmstadt.fbi.dtree.evaluator.EvaluationResult
Returns the classification for the positive matches, either Classification.POSITIVE or Classification.NEGATIVE if all elements share the same classification or else Classification.UNKNOWN.
getRoot() - Method in class de.fhdarmstadt.fbi.dtree.model.DTree
Returns the root node for the tree.
getSourceNode() - Method in class de.fhdarmstadt.fbi.dtree.evaluator.EvaluationResult
Returns the decision tree node used to build this result.
getSymbols() - Method in interface de.fhdarmstadt.fbi.dtree.model.Alphabet
Returns the symbols contained in this alphabet as iterator.
getSymbols() - Method in class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet
Returns the symbols contained in this alphabet as iterator.
getSymbols() - Method in class de.fhdarmstadt.fbi.dtree.model.SimpleAlphabet
Returns the symbols contained in this alphabet as iterator.
getTree() - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Returns the decision tree, to which this node is assigned.

H

hasNext() - Method in interface de.fhdarmstadt.fbi.dtree.testdata.DataSource
Checks, whether there is a next element in the datasource.
hasNext() - Method in class de.fhdarmstadt.fbi.dtree.testdata.GeneratorDataSource
Checks, whether there is a next element in the datasource.
hasNext() - Method in class de.fhdarmstadt.fbi.dtree.testdata.ListDataSource
Checks, whether there is a next element in the datasource.
hashCode() - Method in class de.fhdarmstadt.fbi.dtree.model.Classification
Computes a hashCode for this classification.
hashCode() - Method in class de.fhdarmstadt.fbi.dtree.model.NodePattern
Returns a hash code value for the object.

I

isEmpty() - Method in interface de.fhdarmstadt.fbi.dtree.model.Alphabet
Checks, whether the alphabet is empty.
isEmpty() - Method in class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet
Checks, whether the alphabet is empty.
isEmpty() - Method in class de.fhdarmstadt.fbi.dtree.model.SimpleAlphabet
Checks, whether the alphabet is empty.
isLeaf() - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Checks, whether the given node is a leaf.
isMatch(DTreeNode, TestData) - Method in class de.fhdarmstadt.fbi.dtree.evaluator.Evaluator
Tests, whether the pattern of the given tree node matches the given test data.
isMatch(RegularPattern, TestData) - Method in class de.fhdarmstadt.fbi.dtree.evaluator.Evaluator
Tests, whether the given pattern matches the given test data.
isValid(String) - Method in interface de.fhdarmstadt.fbi.dtree.model.Alphabet
Tests, whether all characters of the given string are contained in this alphabet.
isValid(String) - Method in class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet
Tests, whether all characters of the given string are contained in this alphabet.
isValid(String) - Method in class de.fhdarmstadt.fbi.dtree.model.SimpleAlphabet
Tests, whether all characters of the given string are contained in this alphabet.

L

ListDataSource - class de.fhdarmstadt.fbi.dtree.testdata.ListDataSource.
A datasource over an array of test data elements.
ListDataSource(TestData[]) - Constructor for class de.fhdarmstadt.fbi.dtree.testdata.ListDataSource
Creates a new DataSource for the given array.

M

MutableAlphabet - class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet.
An editable alphabet implementation.
MutableAlphabet() - Constructor for class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet
Creates a new, initially empty alphabet.
MutableAlphabetTest - class de.fhdarmstadt.fbi.dtree.junit.model.MutableAlphabetTest.
 
MutableAlphabetTest(String) - Constructor for class de.fhdarmstadt.fbi.dtree.junit.model.MutableAlphabetTest
 

N

NEGATIVE - Static variable in class de.fhdarmstadt.fbi.dtree.model.Classification
A constant classification element to mark negative examples.
NodePattern - class de.fhdarmstadt.fbi.dtree.model.NodePattern.
A node pattern encapsulates a Perl-Syntax regular pattern together with a positive or negative classification.
NodePattern(String, Classification) - Constructor for class de.fhdarmstadt.fbi.dtree.model.NodePattern
Creates a new (unmodifiable) Node pattern.
next() - Method in interface de.fhdarmstadt.fbi.dtree.testdata.DataSource
Returns the next element of the datasource.
next() - Method in class de.fhdarmstadt.fbi.dtree.testdata.GeneratorDataSource
Returns the next element of the datasource.
next() - Method in class de.fhdarmstadt.fbi.dtree.testdata.ListDataSource
Returns the next element of the datasource.

P

POSITIVE - Static variable in class de.fhdarmstadt.fbi.dtree.model.Classification
A constant classification element to mark positive examples.

R

RegularPattern - interface de.fhdarmstadt.fbi.dtree.model.RegularPattern.
Defines a regular pattern in an arbitary synatx.
removeCharacter(Character) - Method in class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet
Removes the specified character from this alphabet if it is contained in this alphabet.

S

SimpleAlphabet - class de.fhdarmstadt.fbi.dtree.model.SimpleAlphabet.
An simple, unmodifiable alphabet implementation.
SimpleAlphabet(Character[]) - Constructor for class de.fhdarmstadt.fbi.dtree.model.SimpleAlphabet
Creates a alphabet for the given symbols.
SimpleAlphabetTest - class de.fhdarmstadt.fbi.dtree.junit.model.SimpleAlphabetTest.
 
SimpleAlphabetTest(String) - Constructor for class de.fhdarmstadt.fbi.dtree.junit.model.SimpleAlphabetTest
 
SimplePattern - class de.fhdarmstadt.fbi.dtree.model.SimplePattern.
The SimplePattern class allows the construction of patterns in the form: Pattern := (Const)Var[Pattern]*
Var := "(.*)"
Const := Possibly empty sequence of characters
Every pattern starts with a constant expression followed by one or more sequences of alternating variables and constants.
SimplePattern(Classification) - Constructor for class de.fhdarmstadt.fbi.dtree.model.SimplePattern
Creates an initially empty pattern with the given classification.
setMaxLength(int) - Method in class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator
Defines the maximum length of the generated pattern.
setMinLength(int) - Method in class de.fhdarmstadt.fbi.dtree.testdata.DataGenerator
Defines the minimum length of the generated pattern.
setNegativeMatchNode(DTreeNode) - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Defines the negative-match child node or null, if there is no next node.
setParent(DTreeNode) - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Defines the parent node for this tree node.
setPattern(RegularPattern) - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Defines the pattern for this node.
setPositiveMatchNode(DTreeNode) - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Defines the positive-match child node or null, if there is no next node.
setTree(DTree) - Method in class de.fhdarmstadt.fbi.dtree.model.DTreeNode
Redefines the tree reference for the node.
size() - Method in class de.fhdarmstadt.fbi.dtree.evaluator.EvaluationResult
Returns the total number of negative and positive matches.
size() - Method in class de.fhdarmstadt.fbi.dtree.model.SimplePattern
Returns the size of constant elements.

T

TestData - class de.fhdarmstadt.fbi.dtree.testdata.TestData.
The TestData class encapsulates test date with a classification.
TestData(String, Classification) - Constructor for class de.fhdarmstadt.fbi.dtree.testdata.TestData
Creates a new TestData instance for the given string and classification.
testAddChild() - Method in class de.fhdarmstadt.fbi.dtree.junit.model.DTreeNodeTest
 
testAddChild() - Method in class de.fhdarmstadt.fbi.dtree.junit.model.DTreeTest
 
testBuildTree() - Method in class de.fhdarmstadt.fbi.dtree.junit.EvaluatorTest
 
testClassfication() - Method in class de.fhdarmstadt.fbi.dtree.junit.EvaluationResultTest
 
testCreate() - Method in class de.fhdarmstadt.fbi.dtree.junit.model.DTreeNodeTest
 
testCreate() - Method in class de.fhdarmstadt.fbi.dtree.junit.model.DTreeTest
 
testCreateNull() - Method in class de.fhdarmstadt.fbi.dtree.junit.model.SimpleAlphabetTest
 
testEvaluate() - Method in class de.fhdarmstadt.fbi.dtree.junit.EvaluatorTest
 
testEvaluateTree() - Method in class de.fhdarmstadt.fbi.dtree.junit.EvaluatorTest
 
testIsMatch() - Method in class de.fhdarmstadt.fbi.dtree.junit.EvaluatorTest
 
testIsMatch() - Method in class de.fhdarmstadt.fbi.dtree.junit.model.SimpleAlphabetTest
 
testSimpleAlphabet() - Method in class de.fhdarmstadt.fbi.dtree.junit.model.MutableAlphabetTest
 
testSimpleAlphabet() - Method in class de.fhdarmstadt.fbi.dtree.junit.model.SimpleAlphabetTest
 
toArray() - Method in interface de.fhdarmstadt.fbi.dtree.model.Alphabet
Returns the symbol set of this alphabet as Character-array.
toArray() - Method in class de.fhdarmstadt.fbi.dtree.model.MutableAlphabet
Converts the given character to an array of java.lang.Character objects.
toArray() - Method in class de.fhdarmstadt.fbi.dtree.model.SimpleAlphabet
Returns the symbol set of this alphabet as Character-array.
toString() - Method in class de.fhdarmstadt.fbi.dtree.model.Classification
Returns a string represenation of this classification.

U

UNKNOWN - Static variable in class de.fhdarmstadt.fbi.dtree.model.Classification
A constant classification element to mark unclassified examples.

A C D E G H I L M N P R S T U