Minimum Routing Cost Spanning Tree - Detailed Process Flow
O(E log V)
Used in Campos:
Weight prioritization for highly heterogeneous graphs (C₄=0.9)
O(V log V)
Used in Campos:
Spanning potential (sp_v) for root selection & jsp_v metric
O(V² log V)
Used in Campos:
Distance-to-root awareness (cf_v) in selection criteria
O(E log V)
The Hybrid:
Best of all worlds - combines strengths, avoids weaknesses
From ADD algorithm
For root selection
From Wong + Prim
For node selection
From ADD algorithm
For tie-breaking
From Wong algorithm
For path cost tracking
| Decision Point | Condition | Action | Inspired By |
|---|---|---|---|
| Graph Type | ratio ≤ 0.3 | C₄=1.0, C₅=1.0 Balanced approach |
ADD |
| Graph Type | 0.3 < ratio < threshold | C₄=1.0, C₅=1.0 Balanced approach |
WONG |
| Graph Type | ratio ≥ threshold | C₄=0.9, C₅=0.1 Prioritize weight |
PRIM |
| Root Selection | Always | Use sp_v formula Select max(sp_v) |
ADD |
| Node Selection | Primary criterion | Select min(wd_v) Uses weight + distance |
WONG + PRIM |
| Tie Breaking | wd_v equal | Select max(jsp_v) Prefers high spanning potential |
ADD |
Campos Algorithm adalah chef yang master - mengambil teknik terbaik dari ADD, Wong, dan Prim, lalu mencampur dengan proporsi adaptif berdasarkan bahan (graph) yang tersedia. Hasilnya: hidangan optimal dengan waktu memasak minimal! 👨🍳