Class MagicTable

java.lang.Object
net.sourceforge.plantuml.oregon.MagicTable

public class MagicTable extends Object
  • Constructor Details

    • MagicTable

      public MagicTable()
  • Method Details

    • getNeighbours

      public static int[] getNeighbours(int nb)
    • getNeighboursSlow

      public static int[] getNeighboursSlow(int nb)
    • getAllFree

      public List<Integer> getAllFree()
    • getAllUsed

      public List<Integer> getAllUsed()
    • isUsuable

      public boolean isUsuable(int nb)
    • burnNumber

      public void burnNumber(int nb)
    • getRandomFree

      public int getRandomFree(Random rnd)
    • size

      public static int size(Random rnd, MagicTable mt)
    • main

      public static void main(String[] args)
    • main2

      public static void main2(String[] args)