Predador Presa v1
Created: 2017-10-30 22:11:11
Last updated: 2017-10-30 22:11:12
Envia dois textos e três parâmetros numéricos para um web service, e recebe um texto como saída. O web service implementa um modelo de predador-presa.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (0)
Titles (0)
Descriptions (0)
Dependencies (0)
Inputs (3)
Name |
Description |
dt |
|
max_iter |
|
plot_mode |
|
Processors (8)
Name |
Type |
Description |
Text_constant |
stringconstant |
Valuemodel preyPredatorMetaModel {
class prey {
property preyBirthRate 1;
property preyDeapthRate 0.1;
rate (preyPopulation) prayBirth preyBirthRate * preyPopulation;
rate (preyPopulation) preyDeapth - read(r1,predatorPopulation) * preyDeapthRate * preyPopulation;
stock preyPopulation 1;
};
Class predator {
property predatorBirthRate 0.2;
property predatorDeapthRate 0.1;
rate (predatorPopulation) predatorBirth predatorBirthRate * predatorPopulation * read(r2,preyPopulation);
rate (predatorPopulation) predatorDeapth - (predatorDeapthRate * predatorPopulation);
stock predatorPopulation 8;
};
relation r1 prey, predator;
relation r2 predator, prey;
};
|
Text_constant_2 |
stringconstant |
ValueDEFINE preyPredatorModel preyPredatorMetaModel {
ps = new prey
set preyBirthRate = 1;
set preyDeapthRate = 0.1;
link r1 pd;
pd = new predator
set predatorBirthRate = 0.2;
set predatorDeapthRate = 0.1;
link r2 ps;
};
|
simulate |
wsdl |
Wsdlhttp://localhost:8080/WebServicePredatorPrey/services/PredatorPreySimulation?WSDLWsdl Operationsimulate |
simulate_input |
xmlsplitter |
|
encoder |
beanshell |
Scriptimport javax.xml.bind.DatatypeConverter;
output = DatatypeConverter.printBase64Binary(input.getBytes()); |
encoder_2 |
beanshell |
Scriptimport javax.xml.bind.DatatypeConverter;
output = DatatypeConverter.printBase64Binary(input.getBytes()); |
simulate_output |
xmlsplitter |
|
decoder |
beanshell |
Scriptimport javax.xml.bind.DatatypeConverter;
output = new String(DatatypeConverter.parseBase64Binary(input)); |
Beanshells (3)
Name |
Description |
Inputs |
Outputs |
encoder |
|
input
|
output
|
encoder_2 |
|
input
|
output
|
decoder |
|
input
|
output
|
Datalinks (11)
Source |
Sink |
simulate_input:output |
simulate:parameters |
plot_mode |
simulate_input:plot_mode |
max_iter |
simulate_input:max_iter |
dt |
simulate_input:dt |
encoder:output |
simulate_input:data1 |
encoder_2:output |
simulate_input:data2 |
Text_constant:value |
encoder:input |
Text_constant_2:value |
encoder_2:input |
simulate:parameters |
simulate_output:input |
simulate_output:simulateReturn |
decoder:input |
decoder:output |
out |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1
(of 1)
Credits (1)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (0)
None
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment