我对网格世界相当陌生,我需要关于如何使用GridGain处理算法的指导,该算法是递归TravellingSalesman问题。 TSP看起来是这样的: public int tsp(int hops, byte[] path, int length, int minimum,
DistanceTable distance) {
int city, dist, me;
GridCache.keySet(),.primarySize()和.size()仅返回该节点的信息。 我如何获得这些信息,但对于整个群集? Scanning the entire cluster“工作”,但我需要的只是钥匙或计数,而不是数值。 问题是,如果我想根据索引字段查找SQL查询,但我无法根据网格缓存条目密钥本身找到问题。 我的变通方法,但远从作品优雅高性能是: Set<String> r