|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.util.Octree
Octree class constructed with recursion in mind. Each child is itself a tree.
Field Summary | |
static int |
countAppBondOp
|
static int |
countChildren
|
int |
levels
|
java.lang.String |
path
|
static int |
rejectedPaths
|
Constructor Summary | |
Octree(int spaceDimension,
OctreeDataItem[] data,
double[] offset)
Constructor that is mostly used for instantiating the root tree. |
|
Octree(Octree root,
Octree parent,
int id,
OctreeDataItem[] data,
double[] firstCorner,
double[] secondCorner)
Construct an octree as a child of "parent" in a tree rooted at "root" with given data and corners. |
Method Summary | |
double[] |
add(double[] v1,
double[] v2)
??? |
void |
appendBonds(OctreeDataItem dataItem,
double cutOff,
java.util.Vector bondVector)
??? |
void |
appendHBondInfo(double[] coords1,
int index1,
double cutOff,
int indexCutOff,
java.util.Vector bondList)
|
void |
appendHBonds(OctreeDataItem dataItem,
double cutOff,
int indexCutOff,
java.util.Vector bondVector)
??? |
void |
build()
Build the whole tree recursively. |
void |
build(OctreeDataItem[] data)
Build a subtree recursively. |
java.lang.Object[] |
getBonds(double cutOff)
??? |
java.util.Vector |
getBondsVector(double cutOff)
Return the vector of all potential covalent bonds. |
int |
getDimension()
??? |
double |
getDistance(double[] coord1,
double[] coord2)
Methods to operate with vectors. |
java.util.Vector |
getHBondInfoVector(double cutOff)
|
java.lang.Object[] |
getHBonds(double cutOff)
??? |
java.util.Vector |
getHBondsVector(double cutOff)
??? |
int |
getMaxNumberOfChildren()
??? |
int |
getNumberOfChildren()
??? |
int |
getWeight()
??? |
void |
printChildNamingScheme()
??? |
double[] |
scale(double[] v1,
double scaleFactor)
??? |
void |
setChildId(int child)
??? |
void |
setData(OctreeDataItem[] data)
??? |
double[] |
setGeometricalCenter()
??? |
void |
setLeafCutOffCriterion(int leafCutOff)
??? |
void |
setLeafFlag(boolean leafFlag)
??? |
void |
setParent(Octree parentTree)
??? |
void |
setRoot(Octree rootTree)
??? |
void |
setWeight(int weight)
??? |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String path
public int levels
public static int countChildren
public static int countAppBondOp
public static int rejectedPaths
Constructor Detail |
public Octree(Octree root, Octree parent, int id, OctreeDataItem[] data, double[] firstCorner, double[] secondCorner)
public Octree(int spaceDimension, OctreeDataItem[] data, double[] offset)
Method Detail |
public void build()
public void build(OctreeDataItem[] data)
public final double getDistance(double[] coord1, double[] coord2)
public final double[] add(double[] v1, double[] v2)
public final double[] scale(double[] v1, double scaleFactor)
public void setRoot(Octree rootTree)
public void setParent(Octree parentTree)
public void setData(OctreeDataItem[] data)
public void setLeafFlag(boolean leafFlag)
public void setLeafCutOffCriterion(int leafCutOff)
public void setChildId(int child)
public void setWeight(int weight)
public double[] setGeometricalCenter()
public java.lang.Object[] getBonds(double cutOff)
public java.util.Vector getBondsVector(double cutOff)
public java.lang.Object[] getHBonds(double cutOff)
public java.util.Vector getHBondsVector(double cutOff)
public java.util.Vector getHBondInfoVector(double cutOff)
public void appendHBondInfo(double[] coords1, int index1, double cutOff, int indexCutOff, java.util.Vector bondList)
public void appendBonds(OctreeDataItem dataItem, double cutOff, java.util.Vector bondVector)
public void appendHBonds(OctreeDataItem dataItem, double cutOff, int indexCutOff, java.util.Vector bondVector)
public int getDimension()
public int getMaxNumberOfChildren()
public int getNumberOfChildren()
public int getWeight()
public void printChildNamingScheme()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |