Class Algorithm

    • Field Detail

      • nativeObj

        protected final long nativeObj
    • Constructor Detail

      • Algorithm

        protected Algorithm​(long addr)
    • Method Detail

      • getNativeObjAddr

        public long getNativeObjAddr()
      • __fromPtr__

        public static Algorithm __fromPtr__​(long addr)
      • clear

        public void clear()
        Clears the algorithm state
      • empty

        public boolean empty()
        Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
        Returns:
        automatically generated
      • save

        public void save​(String filename)
        Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
        Parameters:
        filename - automatically generated
      • getDefaultName

        public String getDefaultName()
        Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
        Returns:
        automatically generated