com.mancrd.ahah.combinatorial
Class BinarySetConverter
java.lang.Object
com.mancrd.ahah.combinatorial.BinarySetConverter
public class BinarySetConverter
- extends Object
- Author:
- alexnugent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinarySetConverter
public BinarySetConverter()
main
public static void main(String[] args)
binaryArrayToString
public static String binaryArrayToString(boolean[] p)
getRandomPath
public static boolean[] getRandomPath(int size)
getSet
public static int[] getSet(int setSize,
boolean[] b)
getNumEncodingBits
public static int getNumEncodingBits(int setSize)
getSetIndex
public static int getSetIndex(int setSize,
boolean[] path)
logBase2
public static double logBase2(double x)
Copyright © 2013–2014 M. Alexander Nugent Consulting, Research and Devlopment. All rights reserved.