|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectExamplesJaCoP.Filter
public abstract class Filter
It provides the basic functionality which must be implemented by any filter problem.
| Field Summary | |
|---|---|
int |
addDel
It denotes the delay of the addition. |
static int |
addId
It denotes the identifier of the addition. |
int[][] |
dependencies
It specifies the dependencies between the operation. |
int[] |
ids
It specifies the type of each operation of a given position. |
int[] |
last
It denotes the indexes of the operations on which no other operation depends on. |
int |
mulDel
It denotes the delay of the multiplication. |
static int |
mulId
It specifies the identifier of the multiplication. |
java.lang.String |
name
It specifies the name of the filter. |
| Constructor Summary | |
|---|---|
Filter()
|
|
| Method Summary | |
|---|---|
int |
addDel()
It returns the delay of the addition operation. |
int |
addId()
It returns the id of the addition operation. |
int[] |
delays()
It returns the array with the delays of all operations. |
int[][] |
dependencies()
It returns the dependencies between operations which need to be satisfy in the final solution. |
int[] |
ids()
It returns the ids of each operation. |
int[] |
lastOp()
It returns the list of operations which are not preceding any other operation. |
int |
mulDel()
It returns the delay of the multiplication operation. |
int |
mulId()
It returns the id of the multiplication operation. |
java.lang.String |
name()
It returns a string id of the problem. |
abstract java.util.ArrayList<java.lang.String> |
names()
It specifies the names of the operations for the representation of the solution in textual form. |
abstract java.util.ArrayList<java.lang.String> |
namesPipeline()
It specifies the names of the operations for the textual representation of the pipelined solution. |
int |
noAdd()
It returns a number of addition operations in the current problem. |
int |
noMul()
It returns a number of multiplications operations in the current problem. |
int |
noOp()
It returns the number of operations in the filter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int addDel
public int mulDel
public static final int addId
public static final int mulId
public java.lang.String name
public int[][] dependencies
public int[] ids
public int[] last
| Constructor Detail |
|---|
public Filter()
| Method Detail |
|---|
public int[][] dependencies()
public int[] ids()
public int[] delays()
public int noOp()
public java.lang.String name()
public int noAdd()
public int noMul()
public int addDel()
public int mulDel()
public int addId()
public int mulId()
public int[] lastOp()
public abstract java.util.ArrayList<java.lang.String> names()
public abstract java.util.ArrayList<java.lang.String> namesPipeline()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||