Interface IQuery

  • All Known Implementing Classes:
    VFQueryBuilder

    @Deprecated
    public interface IQuery
    Deprecated.
    SMSD has been deprecated from the CDK with a newer, more recent version of SMSD is available at http://github.com/asad/smsd.
    Interface for the query molecule/graph.
    Author:
    Syed Asad Rahman <asad@ebi.ac.uk>
    Source code:
    main
    Belongs to CDK module:
    smsd
    • Method Detail

      • nodes

        Iterable<INode> nodes()
        Deprecated.
        Returns nodes of the query.
        Returns:
        node Iterable.
      • getNode

        INode getNode​(int index)
        Deprecated.
        Returns a node of the query mol at a given position.
        Parameters:
        index - at position.
        Returns:
        node.
      • edges

        Iterable<IEdge> edges()
        Deprecated.
        Returns edges of the query.
        Returns:
        edge Iterable.
      • getEdge

        IEdge getEdge​(int index)
        Deprecated.
        Returns an edge of the query mol at a given position.
        Parameters:
        index - at position.
        Returns:
        edge
      • getAtom

        IAtom getAtom​(INode node)
        Deprecated.
        Returns an atom associated with this node.
        Parameters:
        node - get Atom of this node.
        Returns:
        atom of this node
      • getEdge

        IEdge getEdge​(INode source,
                      INode target)
        Deprecated.
        Returns an edge associated between two nodes.
        Parameters:
        source - get an between source.
        target - and target.
        Returns:
        IEdge egde between source and target.
      • countEdges

        int countEdges()
        Deprecated.
        Returns edge count.
        Returns:
        edge count.
      • countNodes

        int countNodes()
        Deprecated.
        Returns node count.
        Returns:
        node count.