streamit.misc
Class Misc
java.lang.Object
streamit.misc.AssertedClass
streamit.misc.Misc
- Direct Known Subclasses:
- DestroyedClass, LatencyEdge, LatencyNode, OperatorPhases, Restrictions
public class Misc
- extends AssertedClass
Constructor Summary |
Misc()
|
Method Summary |
static float[] |
init_array_1D_float(String filename,
int size)
Returns float[size] array of elements read from |
static int[] |
init_array_1D_int(String filename,
int size)
Returns int[size] array of elements read from |
static int |
MAX(int a,
int b)
|
static int |
MIN(int a,
int b)
|
Methods inherited from class streamit.misc.AssertedClass |
ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ASSERT, ERROR, ERROR, ERROR, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SASSERT, SERROR, SERROR, SERROR |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Misc
public Misc()
MAX
public static int MAX(int a,
int b)
MIN
public static int MIN(int a,
int b)
init_array_1D_int
public static int[] init_array_1D_int(String filename,
int size)
- Returns int[size] array of elements read from
filename
, which
should be text with one value per line.
init_array_1D_float
public static float[] init_array_1D_float(String filename,
int size)
- Returns float[size] array of elements read from
filename
,
which should be text with one value per line.