viper.descriptors.attributes
Interface Composable

All Known Implementing Classes:
viper.descriptors.attributes.Attribute_polygon.AbstractPolygonValue, FrameSpan

public interface Composable

Author:
davidm

Field Summary
static int ORDERED
          Indicates that the composition is order dependent, such as string concatenation.
static int UNORDERED
          Indicates that the composition is order independent, such as region unions or bags of words.
 
Method Summary
 Composable compose(Composable partner)
          Generate the composition of this object with its partner.
 int getCompositionType()
          Get the type of composition to try.
 

Field Detail

ORDERED

public static final int ORDERED
Indicates that the composition is order dependent, such as string concatenation.

See Also:
Constant Field Values

UNORDERED

public static final int UNORDERED
Indicates that the composition is order independent, such as region unions or bags of words.

See Also:
Constant Field Values
Method Detail

compose

public Composable compose(Composable partner)
                   throws UncomposableException
Generate the composition of this object with its partner. If ordered, this is the object on the "left," whatever that means.

Parameters:
partner -
Returns:
new Composable object from the this and the passed partner
Throws:
UncomposableException
java.lang.ClassCastException

getCompositionType

public int getCompositionType()
Get the type of composition to try.

Returns:
ORDERED or UNORDERED