学习软件工程的材料
4)ProcessNetwork:InthePNdomain,createdbyTomParks,actorsrepresentprocessesthatcommunicateby(con-ceptuallyinfinitecapacity)FIFOqueues[25].ReceiversinthismodelimplementtheseFIFOqueues.Writingtothequeuesalwayssucceeds,whilereadingfromanemptyqueueblocksthereaderprocess.Thesimpleblocking-read-non-blocking-writeruleensuresthedeterminacyofthemodel.5)SynchronousDataflow:AnSDFmodel[30]isapar-ticularlyrestrictedspecialcaseofaPNmodel.Whenanactorisexecutedinthismodel,itconsumesafixednumberofto-kensfromeachinputportandproducesafixednumberofto-kenstoeachoutputport.AvaluablepropertyofSDFmodelsisthatdeadlockandboundednesscanbestaticallyanalyzed.ReceiversinthisdomainrepresentFIFOqueueswithfixedfinitecapacity,andtheexecutionorderofcomponentsisstat-icallyscheduled.
V.COMPONENTINTERACTIONSAND
DOMAIN
POLYMORPHISM
Adomaincontrolsthecommunicationbetweenactors3bydeterminingthereceiversontheirinputports.Also,thedi-rectorofadomainmaycontroltheexecutionorderoftheac-tors.Ineffect,thereceiveranddirectordecoupletheidiosyn-crasiesofinteractioninadomainfromtherequirementsoftheactorsembeddedinit.
Theconceptofdomain-specificreceiversanddirectorsthatformtheinterfacebetweenactorsandtheirenvironmentseemstosuggestthatanyactor,includingeverymodelinanydomain,maybeembeddedintoanyothermodel,becauseallrelyonacommonnotionofexecution(atomicfiring)andacommonnotionofcommunication(receivers).Clearly,thisismostdesirable,sinceitmaximizesthereuseofcomponentsandmodels.Unfortunately,thingsarenotsosimple.
Insoftwareterms,bydefiningthereceivernotion,wehaveessentiallyspecifiedaninterface,asetoflexicalconven-tionsforsendingorreceivinginformationtoandfromtheenvironmentofanactor.Forexample,allreceivershave







a
.IfanSDFactorisusedinDE,itmaycause
anexceptionby

calling
:invocationof

themethodoftheactor;















2)
onthereceiver
toobtainatoken.Afterreceivingthetokeninstate3,itper-formssomecomputation,andreturns

from
.Notethatthisactordoesnotchecktheavailabilityoftokensbefore

calling
heterogeneity 38页 8财富值 Heterogeneity 暂无评价 6页 免费 Taming Heterogeneity 18页 1财富值 Heterogeneity, and the s... 9页 免费 Astrocyte heterogeneity...
heterogeneity 38页 8财富值 Heterogeneity 暂无评价 25页 免费 Taming Heterogeneity 18页 1财富值 Heterogeneity, and the s... 9页 免费 Astrocyte ...
heterogeneity 38页 8财富值 Heterogeneity 暂无评价 25页 免费 Taming Heterogeneity 18页 1财富值 Heterogeneity, and the s... 9页 免费 Astrocyte ...
Heterogeneity 2页 免费 heterogeneity 38页 8财富值 Heterogeneity 暂无评价 6页 免费 Taming Heterogeneity 18页 1财富值 Heterogeneity, and the s... 9页 ...
Taming Heterogeneity—the Ptolemy Approach Johan Eker, J¨ rn W. Janneck, Edward A. Lee, Jie Liu, Xiaojun Liu, o Stephen Neuendorffer, Sonia Sachs,...
reciprocal 13页 免费 Heterogeneity 暂无评价 6页 免费 Interactions 暂无评价 38页 免费 2-interactions 暂无评价 6页 免费 Taming Heterogeneity 18页 1财富值...
Heterogeneity 2页 免费 heterogeneity 38页 8财富值 Heterogeneity 暂无评价 6页 免费 Unbundling Institutions 47页 免费 Taming Heterogeneity 18页 1财富值 ...
Taming Heterogeneity—th... 暂无评价 14页 免费 Taming heterogeneity—th... 暂无评价 16页 免费 An Ontological Approach ... 暂无评价 26页 免费 Cluster ...
Taming Heterogeneity 18页 1财富值 Taming Uncertainty 13页 5财富值 Taming the Y operator 9页 免费 驯悍记---the Taming of t... 13页 免费...
ArchSummit全球架构师峰会Day2 海量数据 Taming latency - case studies in ...Key characteristics: heterogeneity, high performance, scalability, reliability, ...
热门文档