ostore.oil
Interface SegmentedModel.Segment

All Superinterfaces:
QueueElementIF, QuickSerializable
All Known Implementing Classes:
HMM.Segment, SemanticDistanceModel.Segment
Enclosing interface:
SegmentedModel

public static interface SegmentedModel.Segment
extends QueueElementIF, QuickSerializable

A single, tagged portion of the global Model state. The contents and structure of s Segment may vary widely, depending on the particular Model.

Version:
$Id: SegmentedModel.java,v 1.9 2002/07/22 20:54:53 srhea Exp $
Author:
Dennis Geels
See Also:
HMM.Segment

Method Summary
 QuickSerializable id()
          Returns the unique ID for this Segment.
 
Methods inherited from interface ostore.util.QuickSerializable
serialize
 

Method Detail

id

public QuickSerializable id()
Returns the unique ID for this Segment. This ID serves as the only key identifying a Segment - Segment.equals should never be called. (Segment.id()).equals and (Segment.id()).hashCode, however, may be called quite often. Avoid using QuickSerializable IDs for which those methods are expensive.

Returns:
the unique ID for this Segment.