org.gcube.contentmanagement.graphtools.data
Class BigSamplesTable

java.lang.Object
  extended by org.gcube.contentmanagement.graphtools.abstracts.SamplesTable
      extended by org.gcube.contentmanagement.graphtools.data.BigSamplesTable

public class BigSamplesTable
extends SamplesTable


Field Summary
 
Fields inherited from class org.gcube.contentmanagement.graphtools.abstracts.SamplesTable
maxX, maxY, minX, minY
 
Constructor Summary
BigSamplesTable()
           
 
Method Summary
 void addLabel(int i, String label)
           
 void addSample(int i, int j, double value)
           
 void addSampleRow(String label, double... values)
           
 String getClassification(int d)
           
 int getNumOfAttributes()
           
 int getNumOfDataRows()
           
 double getValue(int d, int a)
           
static void main(String[] args)
           
 
Methods inherited from class org.gcube.contentmanagement.graphtools.abstracts.SamplesTable
calculateBounds, generateExampleSet, generateSampleTable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BigSamplesTable

public BigSamplesTable()
Method Detail

getNumOfAttributes

public int getNumOfAttributes()
Specified by:
getNumOfAttributes in class SamplesTable

getNumOfDataRows

public int getNumOfDataRows()
Specified by:
getNumOfDataRows in class SamplesTable

getValue

public double getValue(int d,
                       int a)
Specified by:
getValue in class SamplesTable

getClassification

public String getClassification(int d)
Specified by:
getClassification in class SamplesTable

addSampleRow

public void addSampleRow(String label,
                         double... values)
Specified by:
addSampleRow in class SamplesTable

addSample

public void addSample(int i,
                      int j,
                      double value)
Specified by:
addSample in class SamplesTable

addLabel

public void addLabel(int i,
                     String label)
Specified by:
addLabel in class SamplesTable

main

public static void main(String[] args)


Copyright © 2013. All Rights Reserved.