diva.sketch.recognition
Interface CompositeElement

All Superinterfaces:
SceneElement
All Known Subinterfaces:
ChoiceElement

public interface CompositeElement
extends SceneElement

A composite element is the encapsulation of all the information known about a parsed element in a scene. It is composed of other scene elements, which are represented as named children. It has typed data that represent an interpretation of its children, and a confidence to go along with that data.

Version:
$Revision: 1.2 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Method Summary
 List childNames()
          Return an array of the names of the children of this element, each of which sequentially corresponds to an item in the array returned by children().
 List children()
          Return a list of the children of this element, each of which is of type SceneElement.
 double getConfidence()
          Return the confidence associated with the typed data returned by getData().
 TypedData getData()
          Return the typed data associated with this element (the recognition result it represents).
 
Methods inherited from interface diva.sketch.recognition.SceneElement
getBounds, parents
 

Method Detail

children

List children()
Return a list of the children of this element, each of which is of type SceneElement.


childNames

List childNames()
Return an array of the names of the children of this element, each of which sequentially corresponds to an item in the array returned by children().


getConfidence

double getConfidence()
Return the confidence associated with the typed data returned by getData().


getData

TypedData getData()
Return the typed data associated with this element (the recognition result it represents).



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.