Example #1
0
        public AnnealingRouting(AHAddress local, ConnectionList structured_cons)
        {
            //Fake connection to ourselves:
            _local_con = new Connection(null, local, "structured.self", null, null);
            int local_idx;

            _structs = ConnectionList.InsertInto(structured_cons, _local_con, out local_idx);
        }
Example #2
0
        public GreedyRouting(AHAddress local, ConnectionList structured_cons)
        {
            //Fake connection to ourselves:
            _local_con = new Connection(null, local, "structured.self", null, null);
            int local_idx;

            _structs = ConnectionList.InsertInto(structured_cons, _local_con, out local_idx);
            _NO_ONE  = new Pair <Connection, bool>(null, false);
            _LOCAL   = new Pair <Connection, bool>(null, true);
        }