首頁(yè) > 計(jì)算機(jī)網(wǎng)絡(luò) > 編程語(yǔ)言與程序設(shè)計(jì) > Clojure Data Structures and Algorithms Cookbook
舉報(bào)

會(huì)員
Clojure Data Structures and Algorithms Cookbook
最新章節(jié):
Index
Data-structuresandalgorithmsoftencrossyourpathwhenyoucompressfiles,compileprograms,accessdatabases,orsimplyuseyourfavouritetexteditor.Understandingandimplementingthemcanbedaunting.Curiouslearnersandindustrialdeveloperscanfindthesecomplex,especiallyiftheyfocusonthedetailedimplementationofthesedatastructures.Clojureisahighlypragmaticandexpressivelanguagewithefficientandeasydatamanipulationcapabilities.Assuch,itisgreatforimplementingthesealgorithms.Byabstractingawayagreatshareoftheunnecessarycomplexityresultingfromimplementation,Clojureanditscontriblibrarieswillhelpyouaddressvariousalgorithmicchallenges,makingyourdataexplorationbothprofitableandenjoyable.Through25recipes,you'llexploreadvancedalgorithmsanddata-structures,wellservedbyasoundClojureimplementation.Thisbookopenswithanexplorationofalternativeusesofthearraydata-structure,coveringLZ77compression,drawingfractalsusingPascal'striangles,simulatingamulti-threadedprogramexecution,andimplementingacall-stackwindingandun-windingoperations.Thebookelaboratesonlinkedlists,showingyouhowtoconstructdoublylinkedones,speedupsearchtimesovertheelementsofsuchstructures,usealinked-listasthefoundationofashift-reduceparser,andimplementanimmutablelinked-listusingskewbinarynumbersrepresentation.Afterthat,thetreedata-structureisexplored,focusingonbuildingself-balancingSplayTrees,designingaB-Treebacking-upanefficientkey-valuedata-store,constructinganundocapableRope,andshowinghowTriescanmakeforanauto-completingfacility.Next,someoptimizationandmachinelearningtechniquesarediscussed,namelyforbuildingaco-occurrence-basedrecommendationengine,usingbranch-and-boundtooptimizeintegralcostandprofitproblems,usingDijkstra'salgorithmtodetermineoptimalpathsandsummarizingtextsusingtheLexRankalgorithm.Particularattentionisgiventologicprogramming,youwilllearntousethistodiscoverinterestingrelationsbetweensocialwebsitedata,bydesigningasimpletypeinferencerforaminiJava-likelanguage,andbybuildingasimplecheckersgameengine.Asynchronousprogrammingwillbeaddressedandyouwilldesignaconcurrentweb-crawler,aninteractiveHTML5game,andanonlinetaxibookingplatform.Finally,you'llexploreadvancedcasesforhigherorderfunctionsinClojurewhileimplementingarecursivedescentparserusingefficientmutualresucrsion,devisingaminiresusablefirewallsimulatorthankstoClojure1.7newtansducersfeatureorbuildingasimpleunificationenginewiththehelpofContinuationPassingStyle.
最新章節(jié)
- Index
- Building a little unification engine with the continuation-passing style
- Implementing a reusable mini-firewall using transducers
- Building a recursive descent parser using trampoline
- Introduction
- Chapter 7. Transformations as First-class Citizens
品牌:中圖公司
上架時(shí)間:2021-07-16 19:50:56
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行