public class Trellis
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int[] |
indices |
int |
L |
int[][] |
trellis |
int |
TYPE |
int |
WIDTH |
Constructor and Description |
---|
Trellis(int[] indicies,
int[][] trellis,
int WIDTH,
int conectivity) |
Trellis(int[] indicies,
int WIDTH,
int conectivity) |
Modifier and Type | Method and Description |
---|---|
int[] |
getNeighbours(int j)
Get the neighbouring variables of a given index.
|
void |
make() |
void |
putTogether(int j,
int k) |
void |
swap(int j,
int k) |
java.lang.String |
toString() |
double |
weight(weka.core.Instances D) |
double |
weight(int[] indices,
int j,
int j_,
double[][] I)
What would the 'score' be, putting j_ at position j, in indices, with I matrix.
|
double |
weightNeighbourhood(int j) |
public int[][] trellis
public int[] indices
public int WIDTH
public int TYPE
public int L
public Trellis(int[] indicies, int WIDTH, int conectivity)
public Trellis(int[] indicies, int[][] trellis, int WIDTH, int conectivity)
public java.lang.String toString()
toString
in class java.lang.Object
public void swap(int j, int k)
public void putTogether(int j, int k)
public double weight(weka.core.Instances D)
public double weightNeighbourhood(int j)
public double weight(int[] indices, int j, int j_, double[][] I)
public int[] getNeighbours(int j)
j
- an indexpublic void make()