dtnrg-3----Page:29
1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41 

Predicates for DTN Routing Decision Points Exported to Declarative Engine
Compute single source routes according to a given routing strategy
#calcRoutes ( ThisNod, RouteStrat, AdjKB ) :- …

Determine next hop for bundle according to a given routing strategy
#getNextHop ( Bid, ThisNod, NextHop, RouteStrat, AdjKB, BundleKB ) :- …

Determine the best adjacency for forwarding to the next hop neighbor
#getBestAdjacency ( ThisNod, NextHop, Adj, FwdStrat, AdjKB ) :- …
(some fields of Adj could be late bound by the above predicate)

Determine which pending bundle needs to be scheduled for transmission according to a given recirculation strategy
#getBundlesDue ( ThisNod, Bid, RecircStrat, AdjKB, BundleKB ) :- …

PPT Version