(new EcoBuilder()).createECOFile(ecoPgnFile, ecoDatFile);
}
private static class Node {
int index;   // Index in nodes array
Move move;   // Move leading to the position corresponding to this node
<BUG>int nameIdx; // Index in names array, or -1

ArrayList<Node> children = new ArrayList<Node>();</BUG>
Node parent;
}

(new EcoBuilder()).createECOFile(ecoPgnFile, ecoDatFile);
}
private static class Node {
int index;   // Index in nodes array
Move move;   // Move leading to the position corresponding to this node
int ecoIdx;  // Index in string array, or -1
int opnIdx;  // Index in string array, or -1
int varIdx;  // Index in string array, or -1
ArrayList<Node> children = new ArrayList<Node>();
Node parent;
}
