ostore.oil
Interface Model.Delta

All Superinterfaces:
QueueElementIF, QuickSerializable
All Known Implementing Classes:
HMM.Delta, PatchworkModel.Delta
Enclosing class:
Model

public static interface Model.Delta
extends QueueElementIF, QuickSerializable

A summary of the knowledge learned by a Model. It contains updates to the model parameters, usually in the form of sufficient statistics deltas, sufficient to update or initialize a different Model. In general, each subclass of Model has its own subclass of Delta.

Version:
$Id: Model.java,v 1.7 2001/11/28 23:03:15 geels Exp $
Author:
Dennis Geels

Method Summary
 Model.Delta sum(Model.Delta other)
          Produce the sum of this and another Delta.
 
Methods inherited from interface ostore.util.QuickSerializable
to_bytes, type_code
 

Method Detail

sum

public Model.Delta sum(Model.Delta other)
Produce the sum of this and another Delta.
Parameters:
other - The other Delta.
Returns:
a new Delta, constructed such that applying it to a Model produces an equivalent Model to that produced by adding first this, then other.
Throws:
IllegalArgumentException - if other is not an instance of a compatible Delta subclass.