示例#1
0
        public override void AllocateDemand(SpectrumPathAllocator allocator)
        {
            Path pathUp   = GetDemandPathUp();
            Path pathDown = GetDemandPathDown();

            allocator.AllocateFirstFreeSpectrumOnPath(pathUp);
            allocator.AllocateFirstFreeSpectrumOnPath(pathDown);
        }
示例#2
0
        public override void AllocateDemand(SpectrumPathAllocator allocator)
        {
            Path path = GetDemandPath();

            allocator.AllocateFirstFreeSpectrumOnPath(path);
        }