ot::Mle::MleRouter::ComparePartitions() method
Indicates whether or not the given Thread partition attributes are preferred.
Arguments
aSingletonA
Whether or not the Thread Partition A has a single router.
aLeaderDataA
A reference to Thread Partition A's Leader Data.
aSingletonB
Whether or not the Thread Partition B has a single router.
aLeaderDataB
A reference to Thread Partition B's Leader Data.
Return value
1 If partition A is preferred. 0 If partition A and B have equal preference. -1 If partition B is preferred.