Zoo, ib qho algorithm yog ib theem ntawm cov kauj ruam uas daws qhov teeb meem. Nrog rau qhov txhais tau tias (thiab qhov tseeb feem ntau cov ntsiab lus ntawm algorithm) txhua qhov kev pab cuam hauv computer kuj yog ib qho algorithm. Txhua qhov teeb meem Euler tuaj yeem daws tau nrog lub khoos phis tawj program, yog li cov lus teb yog.
Cov teeb meem twg tsis daws los ntawm ib qho algorithm?
Kev piav qhia: cov teeb meem tsis tuaj yeem daws tau los ntawm ib qho algorithm hu ua teeb meem tsis txaus ntseeg. teeb meem uas yuav daws tau nyob rau hauv lub sij hawm polynomial hu ua tractable teeb meem.
Yuav daws tau txhua qhov teeb meem?
Tseem muaj kev daws teeb meem
Koj tsis ntseeg nws, tab sis txhua qhov teeb meem tuaj yeem daws tau. Tau kawg cov teeb meem kev xav, lej, lossis kev paub yuav ib txwm muaj cov lus teb kom raug, tab sis ua li cas txog cov teeb meem uas tsis yog-logical, non-linear?
Puas ntau lub algorithms daws teeb meem?
Nco ntsoov, tsis muaj ib lo lus teb zoo .� Ntau qhov sib txawv ntawm cov algorithms yuav ua tau rau txhua qhov teeb meem. � Vim qhov yooj yim ntawm cov lus Askiv, tib lub algorithm feem ntau tuaj yeem qhia ntau dua ib txoj hauv kev. � Tsis tas li ntawd, yuav luag ib txwm muaj ntau tshaj li ib txoj hauv kev los daws qhov teeb meem.
5 yam khoom ntawm algorithm yog dab tsi?
Ib qho algorithm yuav tsum muaj tsib yam khoom:
- Input tau teev tseg.
- Cov ntaub ntawv teev tseg.
- Definiteness.
- effectiveness.
- Nyob zoo.