ostore.archive.cauchy
Class CauchyEncode

java.lang.Object
  |
  +--ostore.archive.cauchy.CauchyEncode

public class CauchyEncode
extends Object

CauchyEncode erasure encodes an object using cauchy reed solomon method.

Version:
$Id: CauchyEncode.java,v 1.7 2003/11/17 23:52:43 emilong Exp $
Author:
Hakim Weatherspoon

Field Summary
protected static boolean DEBUG
           
 
Constructor Summary
CauchyEncode()
           
 
Method Summary
static long encode(int[] fragments, int[] message, Parameters p)
          encode uses the cauchy erasure encoding method to encode a message into fragments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

protected static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

CauchyEncode

public CauchyEncode()
Method Detail

encode

public static long encode(int[] fragments,
                          int[] message,
                          Parameters p)
encode uses the cauchy erasure encoding method to encode a message into fragments. FIXME!!!

Returns:
return == time in microseconds to encode the msg into fragments.