1 / 5

Primitives in CPAM

Primitives in CPAM. Pre-invocation:. SETUP : set up a connection to a megamodule. SET-, GETPARAM : preset / get parameters in a megamodule. ESTIMATE : get cost estimation for optimization. Invocation and result gathering:. INVOKE : start a specific method.

dani
Download Presentation

Primitives in CPAM

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Primitives in CPAM Pre-invocation: SETUP: set up a connection to a megamodule SET-, GETPARAM: preset / get parameters in a megamodule ESTIMATE: get cost estimation for optimization Invocation and result gathering: INVOKE: start a specific method EXAMINE: test status and progress of an invoked method EXTRACT: extract results from an invoked method Termination: TERMINATE: terminate a method invocation TERMINATEALL: terminate the connection to a megamodule CHAIMS

  2. Why... presetting of parameters? • avoiding redundancy • exploiting parallelism estimate? • choosing most economical service • scheduling based on run-time information (see parallelism / scheduling) splitting up invoke and extract? • faking asynchrony, easy parallelism (see parallelism) • partial extraction of results • extracting results from monitoring processes CHAIMS

  3. Partial Extract Extracting only some results • if not all results are ready yet ==> exploiting parallelism • only some results are needed at all ==> avoiding unnecessary data transfer Extracting preliminary result • if preliminary results are made available (e.g., by simulation servers) and can be used by megaprogram, e.g., for determining future actions ==> avoiding unnecessary waits of megaprogram or unnecessary work by server Partial extract goes together with EXAMINE. CHAIMS

  4. Hierarchical Setting of Parameters Example: parameters of method xz end-date start- date number from dest general default values 1JAN1998 1JAN1998 LAS BWI 1 client-specific settings for client A 4OCT1998 6OCT1998 SJO ZRH client-specific settings for client B FRA 2 method xz, client A: invocation-specific settings actual values used in invocation xz1 4OCT1998 6OCT1998 SJO ZRH 1 method xz, client A: invocation-specific settings 7OCT1998 SFO actual values used in invocation xz2 4OCT1998 7OCT1998 SFO ZRH 1 method xz, client B: invocation-specific settings 1DEC1998 9DEC1998 actual values used in invocation xz1 1DEC1998 9DEC1998 LAS FRA 2 CHAIMS

  5. Name of Person complex Personal Data complex Address …. First Name string Joe Last Name string Smith Date of Birth date Soc.Sec.No string 345-34-345 13JUN1934 Parameter Values Parameter values of megamodules are triples of: • descriptivename, ==> representation • type, ==> flexibility • value, where value is either a simple type or a list of other gentypes (i.e. a complex type). For transfer, these triples are ASN.1/BER encoded. Example: Person_Information CHAIMS

More Related