Ib yam tsawg kawg nkaus spanning ntoo los yog yam tsawg kawg nkaus qhov hnyav spanning tsob ntoo yog ib tug subset ntawm cov npoo ntawm ib tug kev cob cog rua, edge-weighted undirected graph uas txuas tag nrho cov vertices ua ke, tsis muaj ib lub voj voog thiab nrog qhov tsawg kawg nkaus qhov hnyav tag nrho. Qhov ntawd yog, nws yog ib tsob ntoo spanning uas nws cov sum ntawm ntug qhov hnyav li tsawg li sai tau.
Yam tsawg kawg yog tsob ntoo nrog piv txwv li cas?
Ib tsob ntoo tsawg kawg yog ib hom ntoo tshwj xeeb uas txo qhov ntev (lossis "yuag") ntawm cov npoo ntawm tsob ntoo. Ib qho piv txwv yog cable tuam txhab xav nteg kab rau ntau lub zej zog; los ntawm kev txo qis ntawm cov cable tso, lub tuam txhab cable yuav txuag nyiaj. Ib tsob ntoo muaj ib txoj kev koom nrog ob txoj kab nqes.
Yuav ua li cas thiaj nrhiav tau tsob ntoo tsawg kawg nkaus?
Nrhiav qhov ze tshaj plaws tsis muaj xim nyob ze rau cov duab liab(piv txwv li, qhov ze tshaj plaws rau ib qho liab vertex). Kos nws thiab ntug txuas lub vertex mus rau lub subgraph liab nyob rau hauv liab. Rov ua kauj ruam 2 kom txog rau thaum tag nrho cov ntsug yog cim liab. Daim duab liab liab yog qhov tsawg kawg ntawm tsob ntoo.
Koj txhais li cas ntawm tsob ntoo thiab tsob ntoo tsawg kawg nkaus?
Ib tsob ntoo ncua ntawm daim duab yog ib qho kev sib txuas ntawm cov npoo uas suav nrog txhua qhov vertex hauv daim duab, tab sis qhov ntawd tsis tsim ib lub voj voog. … Tus Tsob Ntoo Yam Tsawg Kawg Nkaus yog tus uas nws qhov hnyav ntawm ntug qhov hnyav muaj qhov tsawg tshaj plaws, txawm li cas los xij.
Qhov txawv ntawm tsob ntoo ncua thiab tsob ntoo tsawg kawg yog dab tsi?
Yog daim duab yogntug-qhov hnyav, peb tuaj yeem txhais qhov hnyavntawm tsob ntoo spanning raws li qhov sib npaug ntawm qhov hnyav ntawm tag nrho nws cov npoo. Qhov tsawg kawg nkaus spanning ntoo yog ib tsob ntoo uas nws qhov hnyav yog qhov tsawg tshaj plaws ntawm tag nrho cov ntoo spanning.