Objective function
The rule set that translates neighbor evidence into rank and preferred-parent decisions inside one RPL Instance.
Compare RPL objective functions, then test why CORPL and acoustic CARP make different route choices
Change the scenario and objective lens to see why the same DIO neighborhood can produce a different preferred parent. The workbench keeps rank, ETX or MIN-T path cost, hysteresis, and loop checks visible together.
The rule set that translates neighbor evidence into rank and preferred-parent decisions inside one RPL Instance.
A scalar distance from the DODAG root. Rank must progress away from the root so packets can avoid routing loops.
Expected transmissions can be added along a path. A lower ETX path usually means fewer retransmissions.
MRHOF can keep the current parent unless the better path improves by enough to avoid constant parent switching.
Start with the stable network, then try the lossy shortcut and hysteresis scenarios. The selected parent changes only when the objective lens and thresholds justify it.
N5 has heard DIO messages from nearby routers. It must choose one preferred parent for upward traffic toward the root.
Compare the evidence each DIO gives N5 before it chooses a preferred parent.
| Candidate | Rank evidence | ETX path cost | Guard | Decision |
|---|
Keep one evidence table visible while the protocol assumption changes. RPL chooses a preferred parent; CORPL chooses an ordered forwarding set; CARP chooses an acoustic next hop. They do not share a wire format.
Radio evidence enables the RPL and CORPL lenses. Acoustic CARP is gated until the medium is underwater acoustic.
Compare the same entered evidence across the selected bounded score. On narrow screens, scroll sideways for every column.
| Candidate | Eligibility | Shared evidence | RPL cost | Decision |
|---|
Misconception: “The neighbour chosen by RPL is automatically the best CORPL forwarder.”
RPL chooses A from the fixture evidence. Change only Protocol lens to see whether CORPL keeps that first choice.
Objective Function Zero seeks a nearby grounded root and uses rank increase from the selected parent. This page uses a fixed rank-stretch teaching model for visibility.
Minimum Rank with Hysteresis Objective Function selects lower additive path cost, commonly ETX, while avoiding excessive churn.
DIO messages carry DODAG configuration, including the Objective Code Point, rank, and metric-container context used by the instance.
A tempting low-cost neighbor is not usable if it is a descendant, lacks a valid path to the root, or violates implementation constraints.
Each link costs 1 / (df × db). Add link costs along each usable path; stable path ID breaks an exact tie.
The OF0 view here uses a fixed `parent rank + 256` stretch so learners can see a hop-like decision. RFC 6552 allows the step of rank to reflect link properties, so OF0 is not always a pure hop-count algorithm.
The MRHOF view uses additive ETX as the selected metric. The full RFC also defines parent-set behavior, rank conversion, maximum path cost, and several implementation constants.
Rank approximates distance from the DODAG root and supports loop avoidance. Exact rank values depend on RPL configuration, objective function, MinHopRankIncrease, and local policy.
Technical boundaries. MIN-T assumes stationary independent forward and reverse delivery events and geometric retry-until-success behavior. It does not model estimator confidence, correlated interference, retry caps, queueing, energy, latency, link aging, MAC backoff, multicast, parent churn, or RPL metric-container interoperability. A low cost is routing evidence, not deployment acceptance.