org.biopax.paxtools.query.model.Edge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paxtools-query Show documentation
Show all versions of paxtools-query Show documentation
BioPAX graph-theoretic querying - for finding paths between molecules,
or identifying molecules that are reachable through specific paths, using the BioPAX pathway data model.
package org.biopax.paxtools.query.model;
/**
* Wrapper interface for edges in a graph to be queried.
*
* @author Ozgun Babur
*/
public interface Edge extends GraphObject
{
/**
* @return The target node
*/
Node getTargetNode();
/**
* @return The source node
*/
Node getSourceNode();
/**
* Algorithms may need a sign for the edge. 1: positive, -1 negative, 0: signless.
* @return The sign of the edge
*/
public int getSign();
/**
* @return Whether this edge indicates a transcriptional relation
*/
public boolean isTranscription();
}