Package edu.pitt.isp.sverchkov.data
Class AdTree<A,V>
java.lang.Object
edu.pitt.isp.sverchkov.data.AdTree<A,V>
- Type Parameters:
A
- Attribute typeV
- Value type
- All Implemented Interfaces:
Serializable
An implementation of a static AD tree based on Moore and Lee 1998 (mostly)
Indexing of the variables works backwards: (a_i can't have children a_i ... a_m) ... not that that difference is visible in the API.
- Version:
- $Id: $Id
- Author:
- jdramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of rows in the data set.Returns the number of rows in the data set.toXML()
Converts to XML.toXML
(DocumentBuilder builder) Converts to XML.Returns the number of rows in the data set.
-
Constructor Details
-
AdTree
-
-
Method Details
-
values
-
count
-
counts
-
toXML
Converts to XML.- Returns:
- The XML document.
- Throws:
ParserConfigurationException
- if something goes wrong
-
toXML
Converts to XML.- Parameters:
builder
- The builder.- Returns:
- The XML document.
-