//// Идея хорошая, но надо менять схему реализации //private GroupedEntities getable; //private Dictionary<int, object[]> geHash; public TripleStoreInt(string path, IStringIntCoding entityCoding, PredicatesCoding predicatesCoding, NameSpaceStore nameSpaceStore, LiteralStoreAbstract literalStore) : base(path, entityCoding, predicatesCoding, nameSpaceStore, literalStore) { this.path = path; InitTypes(); otriplets_op_filePath = path + "otriples_op.pac"; otriples_filePath = path + "otriples.pac"; dtriples_filePath = path + "dtriples_spf.pac"; if (File.Exists(otriples_filePath)) { Open(true); } else { otriples = new PaCell(tp_triple_seq_two, otriples_filePath, false); otriples_op = new PaCell(tp_triple_seq_two, otriplets_op_filePath, false); dtriples_sp = new PaCell(tp_dtriple_spf_two, dtriples_filePath, false); } if (!Scale.Cell.IsEmpty) { Scale.CalculateRange(); } ewt = new EntitiesWideTable(path, 3); //ewtHash = new EntitiesMemoryHashTable(ewt); // ewtHash.Load(); //getable = new GroupedEntities(path); // Это хорошая идея, но нужно менять схему реализации //getable.CheckGroupedEntities(); //geHash = getable.GroupedEntitiesHash(); }
public EntitiesMemoryHashTable(EntitiesWideTable entites) { this.entites = entites; }