jadex.micro.testcases.semiautomatic.nfpropvis.ApplicationAgent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-micro Show documentation
Show all versions of jadex-applications-micro Show documentation
The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.
package jadex.micro.testcases.semiautomatic.nfpropvis;
import jadex.micro.annotation.Agent;
import jadex.micro.annotation.Component;
import jadex.micro.annotation.ComponentType;
import jadex.micro.annotation.ComponentTypes;
import jadex.micro.annotation.Configuration;
import jadex.micro.annotation.Configurations;
/**
* Application configurations with users and providers.
*/
@Agent
@ComponentTypes({
@ComponentType(name="user", clazz=UserAgent.class),
@ComponentType(name="provider", clazz=ProviderAgent.class)
})
@Configurations({
@Configuration(name="10 users and 5 providers", components={
@Component(name="gui", type="user", configuration="with gui"),
@Component(type="user", number="10"),
@Component(type="provider", number="5")
}),
@Configuration(name="40 users and 5 providers", components={
@Component(name="gui", type="user", configuration="with gui"),
@Component(type="user", number="40"),
@Component(type="provider", number="5")
})
})
public class ApplicationAgent
{
}