Class BestFirst.LinkedList2

    • Constructor Detail

      • LinkedList2

        public LinkedList2​(int sz)
    • Method Detail

      • removeLinkAt

        public void removeLinkAt​(int index)
                          throws Exception
        removes an element (Link) at a specific index from the list.
        Parameters:
        index - the index of the element to be removed.
        Throws:
        Exception
      • getLinkAt

        public BestFirst.Link2 getLinkAt​(int index)
                                  throws Exception
        returns the element (Link) at a specific index from the list.
        Parameters:
        index - the index of the element to be returned.
        Throws:
        Exception
      • addToList

        public void addToList​(Object[] data,
                              double mer)
                       throws Exception
        adds an element (Link) to the list.
        Parameters:
        data - the attribute set specification
        mer - the "merit" of this attribute set
        Throws:
        Exception
      • getRevision

        public String getRevision()
        Returns the revision string.
        Returns:
        the revision