Naive Bayes  0.0.1
 All Classes Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
Attribute Class Reference

Public Member Functions

 Attribute (String attr, String[] values)
 
String name ()
 
ArrayList< String > values ()
 

Public Attributes

final String name
 

Detailed Description

Attribute class

Constructor & Destructor Documentation

Attribute.Attribute ( String  attr,
String[]  values 
)
inline

Constructor of the attribute.

Parameters
attrname of the attribute
valuespossible values for this attribute

Member Function Documentation

String Attribute.name ( )
inline

Although the name field is public accessible, we provide this method for people who perfers calling a method

Returns
name of the attribute
ArrayList<String> Attribute.values ( )
inline

Although the values field is public accessible, we provide this method for people who perfers calling a method

Returns
name of the attribute

Member Data Documentation

final String Attribute.name

Name of this attribute


The documentation for this class was generated from the following file: