资源描述:
《面向市场编程地一些早期课程.pdf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、CHAPTER4MARKET-ORIENTEDPROGRAMMING:SOMEEARLYLESSONSMICHAELP.WELLMANDeptofElectricalEngineeringandComputerScience,UniversityofMichiganAnnArbor,MI48109,USA1.IntroductionAstheotherchaptersinthisvolumeattest,themarket-basedapproachoersausefulwaytoconceptualizeandanalyzedistrib
2、utedcontrolproblems,aswellastodesignandimplementactualdistributedcontrolsystems.Forthepastfewyears,Ihavebeenexploringthisapproachnotonlyasamethodologyforsolvingparticulardistributedcontrolproblems,butalsoasagenericprogrammingparadigmforthedevelopmentofdistributedsystemsbased
3、onthesemethods.Byaprogrammingparadigm,Imeanthattheexerciseofdeningacomputationalmarketleadstothespecicationofaproceduralsolutiontotheunderlyingallocationproblemfacingthatymarket.Icallthisapproachmarket-orientedprogramming".Tosupportthepracticeofmarket-orientedprogramming,
4、weneedaninfrastruc-tureforbuildingmarket-basedsystems
5、thatis,amarket-orientedprogrammingen-vironment.Suchanenvironmentwouldprovideasetofgenericconstructsforspeci-fyingtheelementsofacomputationaleconomy,andimplementsomeofthefacilitiestomanagetheinteractionoftheseelements,acco
6、rdingtodenedprotocols.Inthischapter,Iprovideanoverviewofourexperiencetodatewithmarket-orientedprogramming.Aftersomefurtherelucidationandmotivationofthebasicideas,Idescribethemarket-orientedprogrammingenvironmentwehavebendevel-opingandusing.Thefollowingsectionsoutlinesomeoft
7、heapplicationswehaveexploredwiththemarket-orientedapproach.Thisleadsuptoadiscussionofthelessonslearnedfromourexperience
8、someguidingprinciplesandobservationsthatwerenotobviousattheoutsetofthisresearch(atleasttous).Weconcludebyconsideringtherelationtootherresearchandsomeofthep
9、romisesandpitfallsofmarket-orientedprogramming.PortionsofthischapterarefromapaperpresentedattheFifthInternationalCGEModelingConferenceWaterloo,Ontario,Canada,October1994.yThename,andtheconceptoflayeringconstraintsontopofobject-orientedmethodology,follows21thatofShoham'sage
10、nt-orientedprogramming".1.1.GeneralEquilibriumManyofthemarket-basedschemest