ostore.oil
Interface SegmentedModel
- All Superinterfaces: 
 - Model, QuickSerializable
 
- All Known Implementing Classes: 
 - HMM, SemanticDistanceModel
 
- public interface SegmentedModel
- extends Model
  
An interface for introspective models which participate as part of
 large, distributed models.
 In addition to normal Model functionality,
 SegmentedModels understand how to swap tagged portions of
 the model state (Segments) from a foreign distributor.
- Version: 
 
  - $Id: SegmentedModel.java,v 1.9 2002/07/22 20:54:53 srhea Exp $
 
- Author: 
 
  - Dennis Geels
 
- See Also: 
 Model, 
SegmentedModel.Segment, 
HMM
| 
Nested Class Summary | 
static interface | 
SegmentedModel.Segment
 
          A single, tagged portion of the global Model state.
  | 
 
 
 
 
 
add_segment
public void add_segment(SegmentedModel.Segment s)
- Incorporates the portion of the model contained in the specified
 
Segment.
 
- Parameters:
 s - The Segment to add.
- Throws:
 IllegalArgumentException - if the Segment object
 is not of the correct subclass.- See Also: 
 choose_segments(int)
 
 
choose_segments
public void choose_segments(int num)
- Selects the most-relevant 
num segments to retain,
 discarding all others.
 
- Parameters:
 num - The number of Segments to keep.