Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
de.jstacs.algorithms.graphs.tensor.Tensor

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) (see `DAG`).
`static int[][]` | `DAG.computeMaximalKDAG(Tensor score)` Computes the maximal k-DAG (see `DAG`), i.e. the k-DAG that maximizes the score given by a `Tensor`.
`static int[]` | `DAG.enumerateHP(Tensor score)` The method computes the HP(k) (see `DAG`).
`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` 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 `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 `Tensor`s which are not symmetric, as opposed to the symmetry defined in `SymmetricTensor`.
`class` | `SubTensor` This Tensor can be used to extract or use only a part of a complete `Tensor`.
`class` | `SymmetricTensor` This class can be used for `Tensor`s 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(String, OutputStream)`.

Constructors in de.jstacs.algorithms.graphs.tensor with parameters of type Tensor
`SubTensor(Tensor t, int offset, int length)` This constructor creates a `SubTensor` using the `Tensor` `t` for the nodes `offset, offset+1, ..., offset+length-1`.

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 of a model.

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 `weights`.
`protected static void` | `Measure.fillTensor(Tensor t, double[][][] weights)` Fills a `Tensor` `t` with the weights defined in `weights`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES