Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gs-gama
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
graphstream
gs-gama
Commits
1b6922e0
Commit
1b6922e0
authored
Feb 06, 2014
by
Thibaut Démare
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a gama model which test the new commands of the gs plugin
parent
5a5fafd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
src-gama-test/gama_model/models/test.gaml
src-gama-test/gama_model/models/test.gaml
+50
-0
No files found.
src-gama-test/gama_model/models/test.gaml
0 → 100644
View file @
1b6922e0
/**
*
test
*
Author
:
Thibaut
*
Description
:
*/
model
test
global
{
init
{
gs_clear_senders
;
//
First
test
with
a
clear
sender
gs_add_sender
gs_host
:
"localhost"
gs_port
:
2000
gs_sender_id
:
"test1"
;
gs_clear
gs_sender_id
:
"test1"
;
//
Second
test
gs_add_sender
gs_host
:
"localhost"
gs_port
:
2001
gs_sender_id
:
"test2"
;
//
Create
three
nodes
gs_add_node
gs_sender_id
:
"test2"
gs_node_id
:
"node1"
;
gs_add_node
gs_sender_id
:
"test2"
gs_node_id
:
"node2"
;
gs_add_node
gs_sender_id
:
"test2"
gs_node_id
:
"node3"
;
//
Create
one
directed
gs_add_edge
gs_sender_id
:
"test2"
gs_edge_id
:
"edge1"
gs_node_id_from
:
"node1"
gs_node_id_to
:
"node2"
gs_is_directed
:
true
;
gs_add_edge
gs_sender_id
:
"test2"
gs_edge_id
:
"edge2"
gs_node_id_from
:
"node2"
gs_node_id_to
:
"node3"
gs_is_directed
:
false
;
//
gs_step
gs_sender_id
:
"plop"
gs_step_number
:
0
;
}
}
species
Provider
{
aspect
base
{
draw
square
(
1.5
°
km
)
color
:
rgb
([
100
,
0
,
100
])
;
}
}
experiment
test_gs_extension
type
:
gui
{
output
{
display
display_FinalDestinationManager
{
species
Provider
aspect
:
base
;
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment