ec.app.multiplexer
Class Fast

java.lang.Object
  extended by ec.app.multiplexer.Fast

public class Fast
extends java.lang.Object

Fast contains lots of magic numbers for speeding up Multiplexer, basically arrays of bitfields representing the various on/off bit values for all of the scoreboard permutations of 3, 6, and 11-multiplexer. Do not bother yourselves with the man behind the curtain!

Version:
1.0
Author:
Sean Luke

Field Summary
static long[][] M_11
          11-Multiplexer bitfield values for the 11 boolean variables and 1 output variable, where each of the 12 variable slots is an array of 32 longs (32 x 64 bits = 2048) which together comprise the big long 2048-bit permutation vector for that variable.
static java.lang.String[] M_11_NAMES
          11-Multiplexer names for the 11 boolean variables and 1 output variable
static int M_11_OUTPUT
          11-Multiplexer has 11 boolean variables (A0, A1, A2, D0, D1, D2, D3, D4, D5, D6, D7)
static int M_11_SIZE
          11-Multiplexer has 2048 permutations of its 11 boolean variables
static byte[] M_3
          3-Multiplexer bitfield values for the 3 boolean variables and 1 output variable, stored as bytes (8 bits used)
static java.lang.String[] M_3_NAMES
          3-Multiplexer names for the 3 boolean variables and 1 output variable
static int M_3_OUTPUT
          3-Multiplexer has 3 boolean variables (A0, D0, D1)
static int M_3_SIZE
          3-Multiplexer has 8 permutations of its 3 boolean variables
static long[] M_6
          6-Multiplexer bitfield values for the 6 boolean variables and 1 output variable, stored as longs (64 bits used)
static java.lang.String[] M_6_NAMES
          6-Multiplexer names for the 6 boolean variables and 1 output variable
static int M_6_OUTPUT
          6-Multiplexer has 6 boolean variables (A0, A1, D0, D1, D2, D3)
static int M_6_SIZE
          6-Multiplexer has 64 permutations of its 6 boolean variables
 
Constructor Summary
Fast()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

M_3_OUTPUT

public static final int M_3_OUTPUT
3-Multiplexer has 3 boolean variables (A0, D0, D1)

See Also:
Constant Field Values

M_3_SIZE

public static final int M_3_SIZE
3-Multiplexer has 8 permutations of its 3 boolean variables

See Also:
Constant Field Values

M_3

public static final byte[] M_3
3-Multiplexer bitfield values for the 3 boolean variables and 1 output variable, stored as bytes (8 bits used)


M_3_NAMES

public static final java.lang.String[] M_3_NAMES
3-Multiplexer names for the 3 boolean variables and 1 output variable


M_6_OUTPUT

public static final int M_6_OUTPUT
6-Multiplexer has 6 boolean variables (A0, A1, D0, D1, D2, D3)

See Also:
Constant Field Values

M_6_SIZE

public static final int M_6_SIZE
6-Multiplexer has 64 permutations of its 6 boolean variables

See Also:
Constant Field Values

M_6

public static final long[] M_6
6-Multiplexer bitfield values for the 6 boolean variables and 1 output variable, stored as longs (64 bits used)


M_6_NAMES

public static final java.lang.String[] M_6_NAMES
6-Multiplexer names for the 6 boolean variables and 1 output variable


M_11_OUTPUT

public static final int M_11_OUTPUT
11-Multiplexer has 11 boolean variables (A0, A1, A2, D0, D1, D2, D3, D4, D5, D6, D7)

See Also:
Constant Field Values

M_11_SIZE

public static final int M_11_SIZE
11-Multiplexer has 2048 permutations of its 11 boolean variables

See Also:
Constant Field Values

M_11

public static final long[][] M_11
11-Multiplexer bitfield values for the 11 boolean variables and 1 output variable, where each of the 12 variable slots is an array of 32 longs (32 x 64 bits = 2048) which together comprise the big long 2048-bit permutation vector for that variable.


M_11_NAMES

public static final java.lang.String[] M_11_NAMES
11-Multiplexer names for the 11 boolean variables and 1 output variable

Constructor Detail

Fast

public Fast()