ostore.oil
Interface SegmentedModel.Segment

All Superinterfaces:
QueueElementIF, QuickSerializable
All Known Implementing Classes:
HMM.Segment
Enclosing class:
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.6 2001/11/28 23:03:15 geels 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
to_bytes, type_code
 

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.