Public Member Functions | Static Public Attributes | Private Attributes
edu.wpi.rail.jinteractiveworld.data.DataSet Class Reference

List of all members.

Public Member Functions

void add (double x, double y, double z, double theta)
void add (DataPoint point)
 DataSet ()
 DataSet (Item item, Room room, Surface surface, String referenceFrame)
DataPoint get (int index)
Item getItem ()
double getMaxX ()
double getMaxY ()
double getMaxZ ()
double getMinX ()
double getMinY ()
double getMinZ ()
String getReferenceFrame ()
Room getRoom ()
Surface getSurface ()
int size ()
Instances toInstances ()

Static Public Attributes

static final int N = 4
static final Attribute THETA_ATTRIBUTE = new Attribute("theta")
static final Attribute X_ATTRIBUTE = new Attribute("x")
static final Attribute Y_ATTRIBUTE = new Attribute("y")
static final Attribute Z_ATTRIBUTE = new Attribute("z")

Private Attributes

ArrayList< DataPointdata
Item item
String referenceFrame
Room room
Surface surface

Detailed Description

A DataSet contains a collection of transformation matrices. Rotations occur along the Z axis.

Author:
Russell Toris -- rctoris@wpi.edu
Version:
February 6, 2014

Definition at line 15 of file DataSet.java.


Constructor & Destructor Documentation

Create a new, empty data set.

Definition at line 50 of file DataSet.java.

edu.wpi.rail.jinteractiveworld.data.DataSet.DataSet ( Item  item,
Room  room,
Surface  surface,
String  referenceFrame 
) [inline]

Create a new, empty data set.

Parameters:
itemThe item for this data set.
roomThe target room for this data set.
surfaceThe target surface for this data set.
referenceFrameThe reference frame for this data set.

Definition at line 66 of file DataSet.java.


Member Function Documentation

void edu.wpi.rail.jinteractiveworld.data.DataSet.add ( double  x,
double  y,
double  z,
double  theta 
) [inline]

Add a data point based on the given x, y, z, and theta values.

Parameters:
xThe x value of the data point.
yThe y value of the data point.
zThe z value of the data point.
thetaThe theta value of the data point.

Definition at line 131 of file DataSet.java.

Add the given data point to the data set.

Parameters:
pointThe data point to add.

Definition at line 141 of file DataSet.java.

Get the data point at the given index.

Parameters:
indexThe index to get.
Returns:
The data at the given index.

Definition at line 152 of file DataSet.java.

Get the target item for this model.

Returns:
The target item for this model.

Definition at line 88 of file DataSet.java.

Get the maximum x value.

Returns:
The maximum x value.

Definition at line 209 of file DataSet.java.

Get the maximum y value.

Returns:
The maximum y value.

Definition at line 239 of file DataSet.java.

Get the maximum z value.

Returns:
The maximum z value.

Definition at line 269 of file DataSet.java.

Get the minimum x value.

Returns:
The minimum x value.

Definition at line 194 of file DataSet.java.

Get the minimum y value.

Returns:
The minimum y value.

Definition at line 224 of file DataSet.java.

Get the minimum z value.

Returns:
The minimum z value.

Definition at line 254 of file DataSet.java.

Get the reference frame for this model.

Returns:
The reference frame for this model.

Definition at line 79 of file DataSet.java.

Get the target room for this model.

Returns:
The target room for this model.

Definition at line 97 of file DataSet.java.

Get the target surface for this model.

Returns:
The target surface for this model.

Definition at line 106 of file DataSet.java.

Get the size of this data set.

Returns:
The number of points in the data set.

Definition at line 115 of file DataSet.java.

Get the data set as a set of Weka instances.

Returns:
The data set as a set of Weka instances.

Definition at line 161 of file DataSet.java.


Member Data Documentation

Definition at line 42 of file DataSet.java.

Definition at line 43 of file DataSet.java.

The dimensionality of the data set.

Definition at line 20 of file DataSet.java.

Definition at line 46 of file DataSet.java.

Definition at line 44 of file DataSet.java.

Definition at line 45 of file DataSet.java.

final Attribute edu.wpi.rail.jinteractiveworld.data.DataSet.THETA_ATTRIBUTE = new Attribute("theta") [static]

The theta attribute for the data set.

Definition at line 40 of file DataSet.java.

final Attribute edu.wpi.rail.jinteractiveworld.data.DataSet.X_ATTRIBUTE = new Attribute("x") [static]

The x attribute for the data set.

Definition at line 25 of file DataSet.java.

final Attribute edu.wpi.rail.jinteractiveworld.data.DataSet.Y_ATTRIBUTE = new Attribute("y") [static]

The y attribute for the data set.

Definition at line 30 of file DataSet.java.

final Attribute edu.wpi.rail.jinteractiveworld.data.DataSet.Z_ATTRIBUTE = new Attribute("z") [static]

The z attribute for the data set.

Definition at line 35 of file DataSet.java.


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


jinteractiveworld
Author(s): Russell Toris
autogenerated on Thu Jun 6 2019 21:34:23