|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnct.graph.BasicGraph<NodeType,WeightType>
nct.graph.BasicDistanceGraph<NodeType,WeightType>
nct.graph.BlastGraph<NodeType,WeightType>
public class BlastGraph<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
An extension of BasicDistanceGraph that implements SequenceGraph and contains a pointer to a Blast database.
Field Summary | |
---|---|
protected java.lang.String |
dbLocation
This string is the location of the database files. |
protected java.lang.String |
dbName
This string is the name of the database files. |
Fields inherited from class nct.graph.BasicDistanceGraph |
---|
distMap |
Fields inherited from class nct.graph.BasicGraph |
---|
assumeGraphFinished, descMap, id, numEdges, score, weightMap |
Fields inherited from interface nct.graph.SequenceGraph |
---|
BLAST, DUMMY, FASTA |
Constructor Summary | |
---|---|
BlastGraph(java.lang.String dbName,
java.lang.String dbLocation)
|
Method Summary | |
---|---|
java.lang.String |
getDBLocation()
Returns the location of the Blast database used. |
java.lang.String |
getDBName()
Returns the name of the Blast database used. |
int |
getDBType()
Returns an integer identifying the type of database as Blast. |
void |
setDBLocation(java.lang.String location)
Sets the location of the database. |
void |
setDBName(java.lang.String name)
Sets the name of the database. |
void |
setDBType(int type)
Sets the type of the database. |
Methods inherited from class nct.graph.BasicDistanceGraph |
---|
getDistance |
Methods inherited from class nct.graph.BasicGraph |
---|
addEdge, addEdge, addNode, clone, compareTo, degreeOfNode, getEdge, getEdgeDescription, getEdgeList, getEdges, getEdgeWeight, getId, getNeighbors, getNodes, getScore, isEdge, isNode, numberOfEdges, numberOfNodes, removeEdge, removeNode, setEdgeDescription, setEdgeWeight, setScore, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface nct.graph.DistanceGraph |
---|
getDistance |
Methods inherited from interface nct.graph.Graph |
---|
addEdge, addEdge, addNode, clone, compareTo, degreeOfNode, getEdge, getEdgeDescription, getEdgeList, getEdges, getEdgeWeight, getId, getNeighbors, getNodes, getScore, isEdge, isNode, numberOfEdges, numberOfNodes, removeEdge, removeNode, setEdgeDescription, setEdgeWeight, setScore, toString |
Field Detail |
---|
protected java.lang.String dbName
protected java.lang.String dbLocation
Constructor Detail |
---|
public BlastGraph(java.lang.String dbName, java.lang.String dbLocation)
dbName
- The name of the database.dbLocation
- The location of the database.Method Detail |
---|
public java.lang.String getDBName()
getDBName
in interface SequenceGraph<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
public java.lang.String getDBLocation()
getDBLocation
in interface SequenceGraph<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
public int getDBType()
getDBType
in interface SequenceGraph<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
public void setDBName(java.lang.String name)
setDBName
in interface SequenceGraph<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
name
- The new name of the sequence database.public void setDBLocation(java.lang.String location)
setDBLocation
in interface SequenceGraph<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
location
- The new location of the sequence database.public void setDBType(int type)
setDBType
in interface SequenceGraph<NodeType extends java.lang.Comparable<? super NodeType>,WeightType extends java.lang.Comparable<? super WeightType>>
type
- The new type of the sequence database.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |