舉報

會員
Clojure Data Structures and Algorithms Cookbook
最新章節:
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.
最新章節
- 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
品牌:中圖公司
上架時間:2021-07-16 19:50:56
出版社:Packt Publishing
本書數字版權由中圖公司提供,并由其授權上海閱文信息技術有限公司制作發行