com.mancrd.ahah.combinatorial
Class BinarySetConverter

java.lang.Object
  extended by com.mancrd.ahah.combinatorial.BinarySetConverter

public class BinarySetConverter
extends Object

Author:
alexnugent

Constructor Summary
BinarySetConverter()
           
 
Method Summary
static String binaryArrayToString(boolean[] p)
           
static int getNumEncodingBits(int setSize)
           
static boolean[] getRandomPath(int size)
           
static int[] getSet(int setSize, boolean[] b)
           
static int getSetIndex(int setSize, boolean[] path)
           
static double logBase2(double x)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinarySetConverter

public BinarySetConverter()
Method Detail

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.