|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSFE.PF.Block
SFE.PF.S
public abstract class S
S(u,v) selection block.
Select for each of the v outputs one of the u inputs. (with duplicates)
Constructor Summary | |
---|---|
S(int u,
int v,
UC c)
Constructor |
Method Summary | |
---|---|
abstract int |
estimateGates(int u,
int v)
Estimate number of gates of selection block. |
abstract void |
generate(int u,
int v,
UC c)
Generate selection block. |
static S |
generateS(int u,
int v,
UC c)
Generate smallest selection block for given parameters. |
abstract void |
program(int[] s)
Program selection block. |
Methods inherited from class SFE.PF.Block |
---|
countGates, extractCircuit |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public S(int u, int v, UC c)
u
- #inputsv
- #outputsc
- UC containing this selection blockMethod Detail |
---|
public abstract void program(int[] s)
program
in class Block
s
- selection mapping: output[i] <- input[s[i]], i=0..(v-1)public abstract void generate(int u, int v, UC c)
u
- #inputsv
- #outputsc
- UC containing this selection blockpublic abstract int estimateGates(int u, int v)
u
- #inputsv
- #outputs
public static S generateS(int u, int v, UC c)
u
- #inputsv
- #outputsc
- UC containing the selection block
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |