|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Tensor | |
---|---|
de.jstacs.algorithms.graphs | Provides classes for algorithms on graphs. |
de.jstacs.algorithms.graphs.tensor | Provides classes to represent symmetric and asymmetric tensors in graphs |
de.jstacs.models.discrete.inhomogeneous | This package contains various inhomogeneous models. |
de.jstacs.scoringFunctions.directedGraphicalModels.structureLearning.measures | Provides the facilities to learn the structure of a BayesianNetworkScoringFunction . |
Uses of Tensor in de.jstacs.algorithms.graphs |
---|
Methods in de.jstacs.algorithms.graphs with parameters of type Tensor | |
---|---|
static int[] |
DAG.computeMaximalHP(Tensor score)
The method computes the HP(k). |
static int[][] |
DAG.computeMaximalKDAG(Tensor score)
Computes the maximal k-DAG, i.e. the k-DAG that maximize the score given by the tensor. |
static int[] |
DAG.enumerateHP(Tensor score)
The method computes the HP(k). |
static double |
DAG.getScore(Tensor t,
int[][] structure)
Returns the score for any graph. |
static double |
DAG.getScoreForPath(Tensor score,
int l,
byte k,
int[] path)
Returns the score for a given path path and using the first l nodes and
dependencies of order k . |
static int[][] |
DAG.getStructureFromPath(int[] path,
Tensor score)
Extracts the structure from a given path and score-"function". |
static String |
DAG.toWeightedGraphvizFormat(int[][] structure,
String arrow,
Tensor t)
This method returns a String representation of the weighted structure that can be used in Graphviz to create an image. |
Uses of Tensor in de.jstacs.algorithms.graphs.tensor |
---|
Subclasses of Tensor in de.jstacs.algorithms.graphs.tensor | |
---|---|
class |
AsymmetricTensor
This class can be used for Tensors which are not symmetric, as opposed to the symmetry defined in SymmetricTensor . |
class |
SymmetricTensor
This class can be used for Tensors with a special symmetry property. |
Methods in de.jstacs.algorithms.graphs.tensor that return Tensor | |
---|---|
static Tensor |
Tensor.readTensorFromFile(String fname,
boolean asym)
The opposite of the method writeTensorToFile . |
Uses of Tensor in de.jstacs.models.discrete.inhomogeneous |
---|
Methods in de.jstacs.models.discrete.inhomogeneous with parameters of type Tensor | |
---|---|
static int[][] |
StructureLearner.getStructure(Tensor t,
StructureLearner.ModelType model,
byte order)
This method can be used to determine the optimal structure. |
Uses of Tensor in de.jstacs.scoringFunctions.directedGraphicalModels.structureLearning.measures |
---|
Methods in de.jstacs.scoringFunctions.directedGraphicalModels.structureLearning.measures with parameters of type Tensor | |
---|---|
protected static void |
Measure.fillTensor(Tensor t,
double[][] weights)
Fills a Tensor t with the weights defined in weight . |
protected static void |
Measure.fillTensor(Tensor t,
double[][][] weights)
Fills a Tensor t with the weights defined in weight . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |