public JitterBugShaping(string binaryMessage, List<decimal> ipds, JitterBugInfo info, List<decimal> trainingIpds, int numBins) : base(binaryMessage, ipds, info) { _entropyClass = new Entropy(null, trainingIpds, numBins, 0); SetupBins(numBins); CreateFlow(); }
protected JitterBugBase(string binaryMessage, List <decimal> ipds, JitterBugInfo info) : base(ipds) { _info = info; _binaryMessage = binaryMessage; SetupRandomSequence(); }
protected JitterBugBase(string binaryMessage, List<decimal> ipds, JitterBugInfo info) : base(ipds) { _info = info; _binaryMessage = binaryMessage; SetupRandomSequence(); }
public static JitterBugBase Create(string message, List<decimal> ipds, JitterBugType type, List<decimal> trainingIpds, int numBins, JitterBugInfo jBugInfo) { string binaryMessage = ConvertToBinary(message); JitterBugBase jitterBase; switch(type) { case JitterBugType.Rnd: jitterBase = new JitterBugRnd(binaryMessage, ipds, jBugInfo); break; case JitterBugType.NonRnd: jitterBase = new JitterBugNonRnd(binaryMessage, ipds, jBugInfo); break; case JitterBugType.Shaping: jitterBase = new JitterBugShaping(binaryMessage, ipds, jBugInfo, trainingIpds, numBins); break; default: throw new ApplicationException("Unknown Jitterbug type!"); } return jitterBase; }
public static JitterBugBase Create(string message, List <decimal> ipds, JitterBugType type, List <decimal> trainingIpds, int numBins, JitterBugInfo jBugInfo) { string binaryMessage = ConvertToBinary(message); JitterBugBase jitterBase; switch (type) { case JitterBugType.Rnd: jitterBase = new JitterBugRnd(binaryMessage, ipds, jBugInfo); break; case JitterBugType.NonRnd: jitterBase = new JitterBugNonRnd(binaryMessage, ipds, jBugInfo); break; case JitterBugType.Shaping: jitterBase = new JitterBugShaping(binaryMessage, ipds, jBugInfo, trainingIpds, numBins); break; default: throw new ApplicationException("Unknown Jitterbug type!"); } return(jitterBase); }
public JitterBugRnd(string binaryMessage, List <decimal> ipds, JitterBugInfo info) : base(binaryMessage, ipds, info) { EmbedMessage(); }
public JitterBugNonRnd(string binaryMessage, List<decimal> ipds, JitterBugInfo info) : base(binaryMessage, ipds, info) { EmbedMessage(); }