La lecture en ligne est gratuite
Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres
Télécharger Lire

Tulip Tutorial Map manipulation

De
31 pages
IntroductionMap OperationsExerciceTulip TutorialMap manipulation1Bourqui Romain1University Bordeaux ILaBRI, Laboratoire Bordelais de Recherche en Informatique.351 Cours de la libration Talence 33405Tulip days, 2006Bourqui Romain Tulip Tutorial Map manipulationIntroductionMap OperationsExerciceWhat’s a map ?Def. : A map is an embedding of a graph on a surface.Nb : a graph be represented by several maps.example :Bourqui Romain Tulip Tutorial Map manipulationIntroductionMap OperationsExerciceWhat’s a map ?Def. : A map is an embedding of a graph on a surface.Nb : a graph be represented by several maps.example :Bourqui Romain Tulip Tutorial Map manipulationIntroductionMap OperationsExerciceWhat’s a map ?Def. : A map is an embedding of a graph on a surface.Nb : a graph be represented by several maps.example :Bourqui Romain Tulip Tutorial Map manipulationIntroductionMap OperationsExerciceSummaryIntroductionMap OperationsConstructor and forbidden operationsIteratorsSpecific operationsOthers operationsExerciceBourqui Romain Tulip Tutorial Map manipulationConstructor and forbidden operationsIntroductionIteratorsMap OperationsSpecific operationsExerciceOthers operationsMap OperationsI Constructor and forbidden operationsI IteratorsI Specific operationsBourqui Romain Tulip Tutorial Map manipulation#includePlanarConMap *map = new PlanarConMap(graph);delete map;Constructor and forbidden ...
Voir plus Voir moins

Vous aimerez aussi

Introduction Map Operations Exercice
Tulip Tutorial Map manipulation
Bourqui Romain
1
1University Bordeaux I LaBRI, Laboratoire Bordelais de Recherche en Informatique. 351 Cours de la libration Talence 33405
oBur
Tulip days, 2006
qiuoRamniTulipTutorialMapaminupalitno
What’s a map ?
Introduction Map Operations Exercice
Def. :A map is an embedding of a graph on a surface. Nb :a graph be represented by several maps. example :
BourqiuoRaminTulipuTtorialMapaminupalitno
What’s a map ?
Introduction Map Operations Exercice
Def. :A map is an embedding of a graph on a surface. Nb :a graph be represented by several maps. example :
oBruquioRmainuTlipuTtroialMapamnipulation
What’s a map ?
Introduction Map Operations Exercice
Def. :A map is an embedding of a graph on a surface. Nb :a graph be represented by several maps. example :
BourquiRomainuTilpuTtroailMapmanipulation
Summary
Introduction
Introduction Map Operations Exercice
Map Operations Constructor and forbidden operations Iterators Specific operations Others operations
Exercice
BourqiuoRamniuTilpuTtorialMapmanipulation
itnoepararotIsetecirsSpraticoperehtOsnoitarepossonItnorudtcionMapOperationsrexEecicsnoCcurtratofondidrbnodepinampaMlairotuTipulnTaiomiRquur
Map Operations
IConstructor and forbidden operations IIterators ISpecific operations
ionulatoB
nalaonrCPPwenanal*paM=pam>.he<tuclud#inMnparaoClPnail/ptalunoi
......
...... int main(){ Graph *graph = tlp::loadGraph(“planarConnexeTest.tlp”);
......
Map construction
delete graph; return EXIT SUCCESS; }
ruuqRimoiaTnlupiTutorialMapmanipBoaM(pCrno)h;rgpadelap;etemopccipensioatertIsnoitaSsrotaresrpotOehoisnretapOMarapeontixesErtnIcudonoitandforbiddenopercrciCenotsurtcro
raoCMnpag(arhp;)nMap*map=newPlandetelep;maiuoRuoqruTilamniBnoitalup
...... #include<tulip/PlanarConMap.h> ...... int main(){ Graph *graph = tlp::loadGraph(“planarConnexeTest.tlp”);
......
delete graph; return EXIT SUCCESS; }
Map construction
iaorutpTnimaaplMeparitnoOshtreosperationSpecicoaretsrotitarIsnodeidpenondrarbfocuotsnrtecoCreicnsExatioOpernMapoitcudortnIPlanarCos
tiucMaonInodtroranructonsticeCexcrnoEsaritOpeppesSoraterItnsiotareponeddibrofdn
...... #include<tulip/PlanarConMap.h> ...... int main(){ Graph *graph = tlp::loadGraph(“planarConnexeTest.tlp”); PlanarConMap *map = new PlanarConMap(graph); ...... delete map; delete graph; return EXIT SUCCESS; }
Map construction
taoialMatoriipulpmanoBruipTunTulomaiquiRccieropioatOtnssrehrepooitasn
ontirapesoerthsOnoitarepocicepStorsteraonsIrationepdiedofbrardnsicreoCecrtsnotcuapnMerOpioatExnsItnorudtcoiaMmpirlauTotlupi
Forbidden operations : examples
......
......
......
ionulatanip;)2n,1n(egdEnTaiomiRquurBo
...... Graph *graph = tlp::loadGraph(“planarConnexeTest.tlp”); PlanarConMap *map = new PlanarConMap(graph); ......
noden1,n2;egdeeg=arhpaddodn=genphraddaedoN;)(
n21,enode;nonsratisopetheredonepardnofbrditructoraciceConsitarOsnoiceepoctoraSprsontitesIudtcoiMnItnorionsExerapOperat
......
...... Graph *graph = tlp::loadGraph(“planarConnexeTest.tlp”); PlanarConMap *map = new PlanarConMap(graph); ...... node n = graphaddNode(); ......
Forbidden operations : examples
......
nioatulipaphEdddeedgra=g;)n(eg2n,1omainTulBourquiRlaaMmpnapiuTotir
Un pour Un
Permettre à tous d'accéder à la lecture
Pour chaque accès à la bibliothèque, YouScribe donne un accès à une personne dans le besoin