Class OpenList


  • public class OpenList
    extends java.lang.Object
    Direct accessable array list for faster iteration.
    • Field Detail

      • array

        public Site[] array
      • size

        public int size
    • Constructor Detail

      • OpenList

        public OpenList()
      • OpenList

        public OpenList​(int capacity)
    • Method Detail

      • add

        public boolean add​(Site e)
      • clear

        public void clear()
      • get

        public Site get​(int index)
      • isEmpty

        public boolean isEmpty()
      • set

        public Site set​(int index,
                        Site element)
      • cloneWithZeroWeights

        public OpenList cloneWithZeroWeights()
        Clones the list of sites but with zero weights
      • permutate

        public void permutate()