multigraph
Class PMFDatum

java.lang.Object
  extended bymultigraph.MFDatum
      extended bymultigraph.PMFDatum

public class PMFDatum
extends MFDatum

A PMFDatum is an MFDatum that also stores an integer identifier. The PMFDatum doesn't use this identifier; it just stores it.

Author:
mark phillips

Field Summary
 
Fields inherited from class multigraph.MFDatum
datum, flagged, missing
 
Constructor Summary
PMFDatum(int id, double[] datum, boolean missing, boolean flagged)
          Creates a new PMFDatum object with the given id, datum, and missing and flagged attributes.
PMFDatum(int id, MFDatum mfDatum)
          Creates a new PMFDatum object with the given id and using (a copy of) the data from an existing MFDatum instance.
 
Method Summary
 int getId()
          Returns the identifier.
 java.lang.String toString()
           
 
Methods inherited from class multigraph.MFDatum
getDatum, isFlagged, isMissing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PMFDatum

public PMFDatum(int id,
                double[] datum,
                boolean missing,
                boolean flagged)
Creates a new PMFDatum object with the given id, datum, and missing and flagged attributes.


PMFDatum

public PMFDatum(int id,
                MFDatum mfDatum)
Creates a new PMFDatum object with the given id and using (a copy of) the data from an existing MFDatum instance.

Method Detail

toString

public java.lang.String toString()

getId

public int getId()
Returns the identifier.