logging in or signing up jes o f demo presentation Wen12 Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 42 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: December 05, 2007 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript cover: cover How to Use jES Open Foundation Program (a demo presentation) (February 2005, Pietro Terna) (related to jesopenfoundation-0.1.60.tar.gz, How to v. 0.0.21) pietro.terna@unito.it_jES→jES O F: _jES→jES O F _______________________________________ jES jES O F _______________________________________jVE→jES: From jES … jVE→jES java Enterprise Simulator … to jES Open Foundation to simulate multi-model frameworks of system of units or agents http://www.flightgear.org/_jES basics : _jES basics _______________________________________ jES basics _______________________________________WD, DW, WDW: WD, DW, WDW WD side or formalism: What to Do DW side or formalism: which is Doing What WDW formalism: When Doing What Three formalismsdictionary: dictionary unit = a productive structure; a unit is able to perform one of the steps required to accomplish an order order = the object representing a good to be produced; an order contains technical information (the recipe describing the production steps) recipe = a sequence of steps to be executed to produce a good A dictionary_A flexible scheme : _A flexible scheme _______________________________________ A flexible scheme in jES Open Foundation _______________________________________DW: a flexible scheme: DW: a flexible scheme Units … DW … on a toroidal space (left and right borders and top and bottom ones are close together) 2 1 3 2 1 4 5 3 1 Each unit is able to do a specific step …WD: recipes : WD: recipes WD with the recipes of the orders (what to do) expressed as sequences of numbers; orders with recipes are randomly generated with different lengths and structures 1 3 2 4 5 3 4 3 5 1 1 … … of a recipemoving recipes: moving recipes DW and WD 2 1 3 2 1 4 5 3 1 1 3 2 4 1 3 2 4 moving around among units 1 3 2 4 1 3 2 4 ? lack of visibility how to choose Visibility is a metaphorical representation of trustiness and cooperation in a social network; when global visibility increases, we have more “social capital”visibility and …: visibility and … visibility changes new units appear randomly (enterprise creation) with strategic relationships … … or alone some units are dropped out Visibility increases with the time (initial visibility is randomly chosen)… bars: … bars The left (blue) bar of each unit reports the number of waiting orders (do be done) The down (grey) bar of each unit reports the number of consecutive clock ticks in which the unit has been idle If > maxInactivity the unit is dropped out and all unsent products are lost The right (red) bar of each unit reports the number of unsent products, due to the fact that a unit able to do the required step does not exist or is not visible If > maxUnsentProducts the unit is dropped out and all unsent and waiting products are lostjES Open Foundation: jES Open Foundation recipe generator or distiller recipes each unit owns a public matrix recipe generator or distiller recipes each unit owns a public matrix recipe generator or distiller recipes each unit owns a public matrix recipe generator or distiller recipes each unit owns a public matrix many levels built in a parametric way by the Observer The system uses only simple recipes containing computational steps applied to unit matrixes and to general matrixs jES Open FoundationVisibility: Visibility Visibility between two units Unit a area Unit b area Unit a Unit b a cannot see b; b can see amemory matrixes: memory matrixes Memory matrixes data are reported in a text file (unitData/memoryMatrixes.txt) number(from_0_ordered)_rows_cols 0 2 3 1 3 5 2 4 1 3 3 1 Mandatory first linecomputational steps 1/3: computational steps 1/3 Recipes with computations (recipes are reported in external and intermediate format) External format (remember: step, time specification, time): 1 s 1 c 1999 3 0 1 3 2 s 2 3 s 2 1 s 1 c 1998 1 0 5 s 2 1 s 1 c 1998 1 1 6 s 2 1 s 1 c 1998 1 3 7 s 2 time specification: seconds time in seconds step in recipe Intermediate format (remember: each step is repeated for each unit of time): 1 2 2 -1999 3 0 1 4 1000000002 3 3 1 5 5 -1998 1 0 1000000005 1 6 6 -1998 1 1 1000000006 1 7 7 -1998 1 3 1000000007 a step with computation: step 2, requiring 2 seconds, involves computation 1999 with 3 matrixes (those numbered 0, 1, 3 in the previous Figure) after automatic translation, the intermediate format reports the computational processes with a trick (which can be modified, adopting an other translation in OrderDistiller): we imagine here that the computations require the time reported in their steps; so they are placed at the end of the time, followed by a 0 time step (at the intermediate format level, 0 time step are reported as ‘1000000000+step’ a step with computation: step 7, requiring 2 seconds, involves computation 1998 with 1 matrix (that numbered 3 in the previous Figure) Computational stepscomputational steps 2/3: computational steps 2/3 The Java Swarm code used by the recipes with the example code c 1998 /** computational operations with code -1998 (a code for the checking * phase of the program * * this computational code place a number in position 0,0 of the * unique received matrix and set the status to done */ public void c1998(){ mm0=(MemoryMatrix) pendingComputationalSpecificationSet. getMemoryMatrixAddress(0); layer=pendingComputationalSpecificationSet. getOrderLayer(); mm0.setValue(layer,0,0,1.0); mm0.print(); done=true; } // end c1998 Computational steps, Java codecomputational steps 3/3: computational steps 3/3 The Java Swarm code used by the recipes with the example code c 1999 /** computational operations with code -1999 (a code for the checking * phase of the program * * this computational code verifies position 0,0 of the three * received matrixes; only if these positions are all not empty * the code empties them and set the status to done */ public void c1999(){ mm0=(MemoryMatrix) pendingComputationalSpecificationSet. getMemoryMatrixAddress(0); mm1=(MemoryMatrix) pendingComputationalSpecificationSet. getMemoryMatrixAddress(1); mm2=(MemoryMatrix) pendingComputationalSpecificationSet. getMemoryMatrixAddress(2); layer=pendingComputationalSpecificationSet. getOrderLayer(); if(! (mm0.getEmpty(layer,0,0) || mm1.getEmpty(layer,0,0) || mm2.getEmpty(layer,0,0) ) ) { mm0.setEmpty(layer,0,0); mm1.setEmpty(layer,0,0); mm2.setEmpty(layer,0,0); done=true; } } // end c1999 Computational steps, Java code_ preys-predators : _ preys-predators _______________________________________ preys-predators _______________________________________recipes: simple spreadsheets recipessequences: simple spreadsheets sequencesunits: units unit_#___prod.phase_# 1001 1001 unit_#___prod.phase_# 1 1 unit_#___prod.phase_# 2001 2001 text filespreys-predators 1/5: preys-predators 1/5 Tutorial, step3b / time 278, look at the complex codetermination of grass, preys and predators preys-predators 2/5: preys-predators 2/5 Tutorial, step3b / time 744, another codetermined configuration preys-predators 3/5: preys-predators 3/5 Tutorial, step3b / time 1056, another codetermined configuration preys-predators 4/5: preys-predators 4/5 Tutorial, step3b / time 1648, another codetermined configuration preys-predators 5/5: preys-predators 5/5 Tutorial, step3b / time 3448, predators disappeared at 2132, now we have a simplified two stage model _ workers-skills-firms : _ workers-skills-firms _______________________________________ workers-skills-firms _______________________________________Version 0, no links between firms and workers: Version 0, no links between firms and workersVersion 1, new workers with skills equal to that of their neighbors : Version 1, new workers with skills equal to that of their neighbors Version 2, new workers with skills randomly distributed in the stratum space : Version 2, new workers with skills randomly distributed in the stratum space Version 3, new workers with skills equal to that of their neighbors, but arising in unequal quantities: Version 3, new workers with skills equal to that of their neighbors, but arising in unequal quantitiesVersion 4, new workers with skills randomly distributed in the stratum space, but arising in unequal quantities : Version 4, new workers with skills randomly distributed in the stratum space, but arising in unequal quantities You do not have the permission to view this presentation. In order to view it, please contact the author of the presentation.
jes o f demo presentation Wen12 Download Post to : URL : Related Presentations : Share Add to Flag Embed Email Send to Blogs and Networks Add to Channel Uploaded from authorPOINTLite Insert YouTube videos in PowerPont slides with aS Desktop Copy embed code: (To copy code, click on the text box) Embed: URL: Thumbnail: WordPress Embed Customize Embed The presentation is successfully added In Your Favorites. Views: 42 Category: Entertainment License: All Rights Reserved Like it (0) Dislike it (0) Added: December 05, 2007 This Presentation is Public Favorites: 0 Presentation Description No description available. Comments Posting comment... Premium member Presentation Transcript cover: cover How to Use jES Open Foundation Program (a demo presentation) (February 2005, Pietro Terna) (related to jesopenfoundation-0.1.60.tar.gz, How to v. 0.0.21) pietro.terna@unito.it_jES→jES O F: _jES→jES O F _______________________________________ jES jES O F _______________________________________jVE→jES: From jES … jVE→jES java Enterprise Simulator … to jES Open Foundation to simulate multi-model frameworks of system of units or agents http://www.flightgear.org/_jES basics : _jES basics _______________________________________ jES basics _______________________________________WD, DW, WDW: WD, DW, WDW WD side or formalism: What to Do DW side or formalism: which is Doing What WDW formalism: When Doing What Three formalismsdictionary: dictionary unit = a productive structure; a unit is able to perform one of the steps required to accomplish an order order = the object representing a good to be produced; an order contains technical information (the recipe describing the production steps) recipe = a sequence of steps to be executed to produce a good A dictionary_A flexible scheme : _A flexible scheme _______________________________________ A flexible scheme in jES Open Foundation _______________________________________DW: a flexible scheme: DW: a flexible scheme Units … DW … on a toroidal space (left and right borders and top and bottom ones are close together) 2 1 3 2 1 4 5 3 1 Each unit is able to do a specific step …WD: recipes : WD: recipes WD with the recipes of the orders (what to do) expressed as sequences of numbers; orders with recipes are randomly generated with different lengths and structures 1 3 2 4 5 3 4 3 5 1 1 … … of a recipemoving recipes: moving recipes DW and WD 2 1 3 2 1 4 5 3 1 1 3 2 4 1 3 2 4 moving around among units 1 3 2 4 1 3 2 4 ? lack of visibility how to choose Visibility is a metaphorical representation of trustiness and cooperation in a social network; when global visibility increases, we have more “social capital”visibility and …: visibility and … visibility changes new units appear randomly (enterprise creation) with strategic relationships … … or alone some units are dropped out Visibility increases with the time (initial visibility is randomly chosen)… bars: … bars The left (blue) bar of each unit reports the number of waiting orders (do be done) The down (grey) bar of each unit reports the number of consecutive clock ticks in which the unit has been idle If > maxInactivity the unit is dropped out and all unsent products are lost The right (red) bar of each unit reports the number of unsent products, due to the fact that a unit able to do the required step does not exist or is not visible If > maxUnsentProducts the unit is dropped out and all unsent and waiting products are lostjES Open Foundation: jES Open Foundation recipe generator or distiller recipes each unit owns a public matrix recipe generator or distiller recipes each unit owns a public matrix recipe generator or distiller recipes each unit owns a public matrix recipe generator or distiller recipes each unit owns a public matrix many levels built in a parametric way by the Observer The system uses only simple recipes containing computational steps applied to unit matrixes and to general matrixs jES Open FoundationVisibility: Visibility Visibility between two units Unit a area Unit b area Unit a Unit b a cannot see b; b can see amemory matrixes: memory matrixes Memory matrixes data are reported in a text file (unitData/memoryMatrixes.txt) number(from_0_ordered)_rows_cols 0 2 3 1 3 5 2 4 1 3 3 1 Mandatory first linecomputational steps 1/3: computational steps 1/3 Recipes with computations (recipes are reported in external and intermediate format) External format (remember: step, time specification, time): 1 s 1 c 1999 3 0 1 3 2 s 2 3 s 2 1 s 1 c 1998 1 0 5 s 2 1 s 1 c 1998 1 1 6 s 2 1 s 1 c 1998 1 3 7 s 2 time specification: seconds time in seconds step in recipe Intermediate format (remember: each step is repeated for each unit of time): 1 2 2 -1999 3 0 1 4 1000000002 3 3 1 5 5 -1998 1 0 1000000005 1 6 6 -1998 1 1 1000000006 1 7 7 -1998 1 3 1000000007 a step with computation: step 2, requiring 2 seconds, involves computation 1999 with 3 matrixes (those numbered 0, 1, 3 in the previous Figure) after automatic translation, the intermediate format reports the computational processes with a trick (which can be modified, adopting an other translation in OrderDistiller): we imagine here that the computations require the time reported in their steps; so they are placed at the end of the time, followed by a 0 time step (at the intermediate format level, 0 time step are reported as ‘1000000000+step’ a step with computation: step 7, requiring 2 seconds, involves computation 1998 with 1 matrix (that numbered 3 in the previous Figure) Computational stepscomputational steps 2/3: computational steps 2/3 The Java Swarm code used by the recipes with the example code c 1998 /** computational operations with code -1998 (a code for the checking * phase of the program * * this computational code place a number in position 0,0 of the * unique received matrix and set the status to done */ public void c1998(){ mm0=(MemoryMatrix) pendingComputationalSpecificationSet. getMemoryMatrixAddress(0); layer=pendingComputationalSpecificationSet. getOrderLayer(); mm0.setValue(layer,0,0,1.0); mm0.print(); done=true; } // end c1998 Computational steps, Java codecomputational steps 3/3: computational steps 3/3 The Java Swarm code used by the recipes with the example code c 1999 /** computational operations with code -1999 (a code for the checking * phase of the program * * this computational code verifies position 0,0 of the three * received matrixes; only if these positions are all not empty * the code empties them and set the status to done */ public void c1999(){ mm0=(MemoryMatrix) pendingComputationalSpecificationSet. getMemoryMatrixAddress(0); mm1=(MemoryMatrix) pendingComputationalSpecificationSet. getMemoryMatrixAddress(1); mm2=(MemoryMatrix) pendingComputationalSpecificationSet. getMemoryMatrixAddress(2); layer=pendingComputationalSpecificationSet. getOrderLayer(); if(! (mm0.getEmpty(layer,0,0) || mm1.getEmpty(layer,0,0) || mm2.getEmpty(layer,0,0) ) ) { mm0.setEmpty(layer,0,0); mm1.setEmpty(layer,0,0); mm2.setEmpty(layer,0,0); done=true; } } // end c1999 Computational steps, Java code_ preys-predators : _ preys-predators _______________________________________ preys-predators _______________________________________recipes: simple spreadsheets recipessequences: simple spreadsheets sequencesunits: units unit_#___prod.phase_# 1001 1001 unit_#___prod.phase_# 1 1 unit_#___prod.phase_# 2001 2001 text filespreys-predators 1/5: preys-predators 1/5 Tutorial, step3b / time 278, look at the complex codetermination of grass, preys and predators preys-predators 2/5: preys-predators 2/5 Tutorial, step3b / time 744, another codetermined configuration preys-predators 3/5: preys-predators 3/5 Tutorial, step3b / time 1056, another codetermined configuration preys-predators 4/5: preys-predators 4/5 Tutorial, step3b / time 1648, another codetermined configuration preys-predators 5/5: preys-predators 5/5 Tutorial, step3b / time 3448, predators disappeared at 2132, now we have a simplified two stage model _ workers-skills-firms : _ workers-skills-firms _______________________________________ workers-skills-firms _______________________________________Version 0, no links between firms and workers: Version 0, no links between firms and workersVersion 1, new workers with skills equal to that of their neighbors : Version 1, new workers with skills equal to that of their neighbors Version 2, new workers with skills randomly distributed in the stratum space : Version 2, new workers with skills randomly distributed in the stratum space Version 3, new workers with skills equal to that of their neighbors, but arising in unequal quantities: Version 3, new workers with skills equal to that of their neighbors, but arising in unequal quantitiesVersion 4, new workers with skills randomly distributed in the stratum space, but arising in unequal quantities : Version 4, new workers with skills randomly distributed in the stratum space, but arising in unequal quantities