Puas yog daim duab bipartite txuas?
Puas yog daim duab bipartite txuas?

Video: Puas yog daim duab bipartite txuas?

Video: Puas yog daim duab bipartite txuas?
Video: Yexus puas yog tus hauv daim duab no 2024, Plaub Hlis Ntuj
Anonim

1 Teb. Txuas bipartite graph yog a daim duab Ua tiav ob qho tib si, cov xwm txheej hauv qab no: Vertices tuaj yeem muab faib ua ob qhov sib txawv U thiab V (uas yog, U thiab V yog txhua qhov kev ywj pheej) xws li txhua qhov ntug hauv graph txuas ib tug vertex nyob rau hauv U rau ib tug nyob rau hauv V.

Ib yam li ib tug yuav nug, ua li cas koj thiaj paub tias daim duab yog bipartite?

Yog li yog koj tuaj yeem 2-xim koj daim duab , nws yuav bipartite . Kom meej meej, yog koj muaj daim duab peb sab, koj xav tau 3 xim xim rau nws. Thaum twg koj muaj 2 xim, ob chav xim (liab vertices, xiav vertices), muab rau koj bipartization. A graph yog bipartite yog tias thiab xwb yog tsis muaj ib lub voj voog khib hauv lub daim duab.

Tsis tas li ntawd, txhua tsob ntoo puas yog daim duab bipartite? Muaj ib txoj hauv kev tshwj xeeb ntawm ib qho 2 vertices hauv a tsob ntoo . Txhua tsob ntoo nrog tsawg kawg 2 vertices muaj tsawg kawg yog 2 vertices ntawm degree 1. Txhua tsob ntoo yog bipartite . Tshem tawm ib qho ntug ntawm a tsob ntoo yuav cais cov tsob ntoo nyob rau hauv 2 txuas txuas.

Ntxiv rau qhov no, nws txhais li cas rau daim duab ua bipartite?

Hauv kev ua lej ntawm daim duab txoj kev xav, a daim duab bipartite (los yog bigraph) yog a daim duab nws vertices yuav muab faib ua ob disjoint thiab ywj siab teev thiab xws li hais tias txhua ntug txuas ib tug vertex rau ib tug nyob rau hauv. Vertex teeb thiab. feem ntau hu ua qhov chaw ntawm lub daim duab.

Dab tsi yog qhov txawv ntawm bipartite graph thiab tiav bipartite graph?

A daim duab bipartite G muaj ib txheej ntawm vertices V uas yog disjoint union ntawm ob pawg A thiab B thiab tag nrho cov npoo hauv G muaj ib kawg. hauv A thiab ib qho kawg hauv B. G yog ua kom tiav yog tias txhua ntug ntawm A mus rau B yog hauv daim duab . Cov txawv yog hauv lo lus "txhua".

Pom zoo: