Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| MaltParser 1.5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.maltparser.parser.history
Class History

    java.lang.Object
      org.maltparser.parser.history.History

All Implemented Interfaces:
  GuideHistory, GuideUserHistory

    public class History

extends Object
implements GuideUserHistory, GuideHistory

Since:
  1.1
Author:
  Johan Hall

Field Summary
`protected ObjectPoolList<ComplexDecisionAction>` | `actionPool`
`protected ArrayList<TableContainer>` | `actionTables`
`protected String` | `decisionSettings`
`protected ArrayList<TableContainer>` | `decisionTables`
`protected Class<? extends KBestList>` | `kBestListClass`
`protected int` | `kBestSize`
`protected String` | `separator`
`protected HashMap<String,TableHandler>` | `tableHandlers`

Constructor Summary
`History(String decisionSettings, String separator, HashMap<String,TableHandler> tableHandlers)`

Method Summary
`void` | `clear()`
`ActionContainer[]` | `getActionContainerArray()`
`ArrayList<ActionContainer>` | `getActionContainers()`
`ArrayList<TableContainer>` | `getActionTables()`
`String` | `getDecisionSettings()`
`ArrayList<TableContainer>` | `getDecisionTables()`
`protected ActionDecision` | `getEmptyActionObject()`
`GuideDecision` | `getEmptyGuideDecision()`
`GuideUserAction` | `getEmptyGuideUserAction()`
`Class<? extends KBestList>` | `getKBestListClass()`
`int` | `getKBestSize()`
`int` | `getNumberOfActions()`
`int` | `getNumberOfDecisions()`
`String` | `getSeparator()`
`TableHandler` | `getTableHandler(String name)`
`HashMap<String,TableHandler>` | `getTableHandlers()`
`protected void` | `initDecisionSettings(String decisionSettings)`
`void` | `setDecisionSettings(String decisionSettings)`
`void` | `setKBestListClass(Class<?> kBestListClass)`
`void` | `setKBestSize(int kBestSize)`
`void` | `setSeparator(String separator)`
`protected void` | `setTableHandlers(HashMap<String,TableHandler> tableHandlers)`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### actionPool

    protected final ObjectPoolList<ComplexDecisionAction> actionPool

### kBestListClass

    protected Class<? extends KBestList> kBestListClass

### kBestSize

    protected int kBestSize

### separator

    protected String separator

### decisionSettings

    protected String decisionSettings

### decisionTables

    protected ArrayList<TableContainer> decisionTables

### actionTables

    protected ArrayList<TableContainer> actionTables

### tableHandlers

    protected HashMap<String,TableHandler> tableHandlers

Constructor Detail

### History

    public History(String decisionSettings,
                   String separator,
                   HashMap<String,TableHandler> tableHandlers)
            throws MaltChainedException

Throws:
  `MaltChainedException`

Method Detail

### getEmptyGuideUserAction

    public GuideUserAction getEmptyGuideUserAction()
                                            throws MaltChainedException

  Specified by:
    `getEmptyGuideUserAction` in interface `GuideUserHistory`
  Throws:
    `MaltChainedException`

### getActionContainers

    public ArrayList<ActionContainer> getActionContainers()

  Specified by:
    `getActionContainers` in interface `GuideUserHistory`

### getActionContainerArray

    public ActionContainer[] getActionContainerArray()

  Specified by:
    `getActionContainerArray` in interface `GuideUserHistory`

### clear

    public void clear()
               throws MaltChainedException

  Specified by:
    `clear` in interface `GuideUserHistory`
  Throws:
    `MaltChainedException`

### getEmptyGuideDecision

    public GuideDecision getEmptyGuideDecision()
                                        throws MaltChainedException

  Specified by:
    `getEmptyGuideDecision` in interface `GuideHistory`
  Throws:
    `MaltChainedException`

### getNumberOfDecisions

    public int getNumberOfDecisions()

  Specified by:
    `getNumberOfDecisions` in interface `GuideHistory`
  Specified by:
    `getNumberOfDecisions` in interface `GuideUserHistory`

### getTableHandler

    public TableHandler getTableHandler(String name)

  Specified by:
    `getTableHandler` in interface `GuideHistory`

### getKBestListClass

    public Class<? extends KBestList> getKBestListClass()

  Specified by:
    `getKBestListClass` in interface `GuideHistory`

### setKBestListClass

    public void setKBestListClass(Class<?> kBestListClass)
                           throws MaltChainedException

  Specified by:
    `setKBestListClass` in interface `GuideHistory`
  Throws:
    `MaltChainedException`

### getKBestSize

    public int getKBestSize()

  Specified by:
    `getKBestSize` in interface `GuideHistory`

### setKBestSize

    public void setKBestSize(int kBestSize)

  Specified by:
    `setKBestSize` in interface `GuideHistory`

### getNumberOfActions

    public int getNumberOfActions()

### getDecisionTables

    public ArrayList<TableContainer> getDecisionTables()

### getActionTables

    public ArrayList<TableContainer> getActionTables()

### getTableHandlers

    public HashMap<String,TableHandler> getTableHandlers()

### getSeparator

    public String getSeparator()

### setSeparator

    public void setSeparator(String separator)
                      throws MaltChainedException

  Specified by:
    `setSeparator` in interface `GuideHistory`
  Throws:
    `MaltChainedException`

### getDecisionSettings

    public String getDecisionSettings()

### setDecisionSettings

    public void setDecisionSettings(String decisionSettings)

### setTableHandlers

    protected void setTableHandlers(HashMap<String,TableHandler> tableHandlers)

### getEmptyActionObject

    protected ActionDecision getEmptyActionObject()
                                           throws MaltChainedException

  Throws:
    `MaltChainedException`

### initDecisionSettings

    protected void initDecisionSettings(String decisionSettings)
                                 throws MaltChainedException

  Throws:
    `MaltChainedException`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| MaltParser 1.5
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2007-2011 Johan Hall, Jens Nilsson and Joakim Nivre.