Searched defs:costs (Results 1 - 4 of 4) sorted by relevance

/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/java/org/apache/lucene/analysis/ja/
H A DGraphvizFormatter.java43 private final ConnectionCosts costs; field in class:GraphvizFormatter
49 public GraphvizFormatter(ConnectionCosts costs) { argument
50 this.costs = costs;
137 final int bgCost = costs.get(backPosData.lastRightID[posData.backIndex[idx]],
H A DJapaneseTokenizer.java128 private final ConnectionCosts costs; field in class:JapaneseTokenizer
191 costs = ConnectionCosts.getInstance();
308 int[] costs = new int[8]; field in class:JapaneseTokenizer.Position
324 costs = ArrayUtil.grow(costs, 1+count);
360 if (count == costs.length) {
363 this.costs[count] = cost;
399 final int cost = fromPosData.costs[idx] + costs.get(fromPosData.lastRightID[idx], leftID);
401 System.out.println(" fromIDX=" + idx + ": cost=" + cost + " (prevCost=" + fromPosData.costs[id
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/java/org/apache/lucene/analysis/ja/dict/
H A DConnectionCosts.java38 private final short[][] costs; // array is backward IDs first since get is called using the same backward ID consecutively. maybe doesn't matter. field in class:ConnectionCosts
43 short[][] costs = null;
51 costs = new short[backwardSize][forwardSize];
53 for (int j = 0; j < costs.length; j++) {
54 final short[] a = costs[j];
67 this.costs = costs;
71 return costs[backwardId][forwardId];
/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/tools/java/org/apache/lucene/analysis/ja/util/
H A DConnectionCostsWriter.java34 private final short[][] costs; // array is backward IDs first since get is called using the same backward ID consecutively. maybe doesn't matter. field in class:ConnectionCostsWriter
43 this.costs = new short[backwardSize][forwardSize];
47 this.costs[backwardId][forwardId] = (short)cost;
62 assert costs.length == backwardSize;
63 for (short[] a : costs) {

Completed in 113 milliseconds