org.dllearner.utilities.statistics
Class Table

java.lang.Object
  extended by org.dllearner.utilities.statistics.Table
All Implemented Interfaces:
Serializable

public class Table
extends Object
implements Serializable

Class to collect results and output them as a latex table or other formats.

Author:
Sebastian Hellmann
See Also:
Serialized Form

Constructor Summary
Table(String tableName)
           
 
Method Summary
 void addColumn(TableColumn c)
           
static Table createTableFromSerializedColumsInDir(String tableName, String columnDir)
           
static Table createTableFromSerializedColumsInFile(String tableName, String tableFile)
           
 List<String> getColumnHeaders()
           
 List<TableColumn> getColumns()
           
 String getLatexString()
           
 int getNumberOfRows()
           
 String getRowInLatex(int index)
           
 String getTableName()
           
 String latexRow(List<String> entries)
           
static void main(String[] args)
           
 void removeColumn(String header)
           
static void serializeColumns(Table t, String dir, String tableFile)
           
 void setTableName(String tableName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Table

public Table(String tableName)
Method Detail

main

public static void main(String[] args)

getLatexString

public String getLatexString()

getRowInLatex

public String getRowInLatex(int index)

getNumberOfRows

public int getNumberOfRows()

removeColumn

public void removeColumn(String header)

getColumnHeaders

public List<String> getColumnHeaders()

latexRow

public String latexRow(List<String> entries)

addColumn

public void addColumn(TableColumn c)

createTableFromSerializedColumsInFile

public static Table createTableFromSerializedColumsInFile(String tableName,
                                                          String tableFile)

createTableFromSerializedColumsInDir

public static Table createTableFromSerializedColumsInDir(String tableName,
                                                         String columnDir)

serializeColumns

public static void serializeColumns(Table t,
                                    String dir,
                                    String tableFile)

getColumns

public List<TableColumn> getColumns()

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann