LightJason - AgentSpeak(L++)
|
metric tests More...
Classes | |
class | CAgent |
agent class More... | |
class | CGenerator |
test belief generator More... | |
Public Member Functions | |
void | initialize () throws Exception |
test initialize More... | |
final void | symmetricweightequality () |
test symmetric weight metric equality More... | |
final void | symmetricweightinequality () |
test symmetric weight metric inequality More... | |
final void | weightequality () |
test symmetric metric equality More... | |
final void | weightinequality () |
test symmetric metric equality More... | |
Private Member Functions | |
CAgent | agent (final Collection< ILiteral > p_literals) |
generates an agent More... | |
void | check (final String p_message, final IFilter p_filter, final IMetric p_metric, final Collection< ILiteral > p_belief1, final Collection< ILiteral > p_belief2, final double p_excepted, final double p_delta) |
runs the check More... | |
Private Attributes | |
CAgent.CAgentGenerator | m_agentgenerator |
agent generator More... | |
IViewGenerator | m_generator |
literal view generator More... | |
Set< ILiteral > | m_literals |
set with testing literals More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from org.lightjason.agentspeak.IBaseTest | |
static final boolean | PRINTENABLE = Files.exists( Paths.get( "agentprinting.conf" ) ) |
enable printing of test-data More... | |
Definition at line 61 of file TestCMetric.java.
|
private |
p_literals | literal collection |
Definition at line 202 of file TestCMetric.java.
References org.lightjason.agentspeak.agent.IBaseAgent< T extends IAgent<?>.beliefbase(), org.lightjason.agentspeak.beliefbase.view.IView.generate(), and org.lightjason.agentspeak.consistency.TestCMetric.m_agentgenerator.
|
private |
p_message | error / successful message |
p_filter | agent filter |
p_metric | metric value |
p_belief1 | belief set 1 |
p_belief2 | belief set 2 |
p_excepted | expected value |
p_delta | delta |
Definition at line 185 of file TestCMetric.java.
Referenced by org.lightjason.agentspeak.consistency.TestCMetric.symmetricweightequality(), org.lightjason.agentspeak.consistency.TestCMetric.symmetricweightinequality(), org.lightjason.agentspeak.consistency.TestCMetric.weightequality(), and org.lightjason.agentspeak.consistency.TestCMetric.weightinequality().
void org.lightjason.agentspeak.consistency.TestCMetric.initialize | ( | ) | throws Exception |
Exception | on any parsing error |
Definition at line 82 of file TestCMetric.java.
References org.lightjason.agentspeak.language.CLiteral.from(), and org.lightjason.agentspeak.consistency.TestCMetric.m_agentgenerator.
final void org.lightjason.agentspeak.consistency.TestCMetric.symmetricweightequality | ( | ) |
Definition at line 103 of file TestCMetric.java.
References org.lightjason.agentspeak.consistency.TestCMetric.check().
final void org.lightjason.agentspeak.consistency.TestCMetric.symmetricweightinequality | ( | ) |
Definition at line 121 of file TestCMetric.java.
References org.lightjason.agentspeak.consistency.TestCMetric.check(), and org.lightjason.agentspeak.language.CLiteral.from().
final void org.lightjason.agentspeak.consistency.TestCMetric.weightequality | ( | ) |
Definition at line 139 of file TestCMetric.java.
References org.lightjason.agentspeak.consistency.TestCMetric.check().
final void org.lightjason.agentspeak.consistency.TestCMetric.weightinequality | ( | ) |
Definition at line 158 of file TestCMetric.java.
References org.lightjason.agentspeak.consistency.TestCMetric.check(), and org.lightjason.agentspeak.language.CLiteral.from().
|
private |
Definition at line 66 of file TestCMetric.java.
Referenced by org.lightjason.agentspeak.consistency.TestCMetric.agent(), and org.lightjason.agentspeak.consistency.TestCMetric.initialize().
|
private |
Definition at line 70 of file TestCMetric.java.
|
private |
Definition at line 74 of file TestCMetric.java.