sandmark.watermark.objectwm
Class CodeBook
java.lang.Object
|
+--sandmark.watermark.objectwm.CodeBook
- public class CodeBook
- extends java.lang.Object
This class implements the entire CodeBook features including its interface
Constructor Summary |
(package private) |
CodeBook()
|
Method Summary |
int |
getInstructionFromCodeBook(java.lang.String[] instrSet,
int instrSetLength,
int groupNum,
int setNum,
java.lang.String[] resultSet)
Main interface to the codeBook |
boolean |
isBranchEmbed(int vectorIndex)
returns 'true' if its a branch nullify instruction group, else returs 'false' |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wmarkLength
public static int wmarkLength
numGroups
int numGroups
numSets
int[] numSets
numInInstr
int[][] numInInstr
numOutInstr
int[][] numOutInstr
numEmbedInstr
int[] numEmbedInstr
numNullifyInstr
int[] numNullifyInstr
inInstr
java.lang.String[][][] inInstr
outInstr
java.lang.String[][][] outInstr
embedInstr
java.lang.String[][] embedInstr
nullifyInstr
java.lang.String[][] nullifyInstr
codeVector
int[] codeVector
vectorGrp
java.lang.String[][] vectorGrp
numVectorGroups
int numVectorGroups
elemsVectorGrp
int[] elemsVectorGrp
numDep
int[] numDep
instrDep
int[][][] instrDep
nullifyEffect
int[] nullifyEffect
CodeBook
CodeBook()
isBranchEmbed
public boolean isBranchEmbed(int vectorIndex)
- returns 'true' if its a branch nullify instruction group, else returs 'false'
getInstructionFromCodeBook
public int getInstructionFromCodeBook(java.lang.String[] instrSet,
int instrSetLength,
int groupNum,
int setNum,
java.lang.String[] resultSet)
- Main interface to the codeBook