All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bdi.planlib.protocols.contractnet.ContractNet.capability.xml Maven / Gradle / Ivy

Go to download

The Jadex applib BDI package contain ready to use functionalities for BDI agents mostly in form of modules called capabilities.

There is a newer version: 2.4
Show newest version




	
		jadex.bridge.fipa.*
		jadex.bdi.runtime.*
		jadex.bdi.planlib.protocols.*
		java.util.*
		jadex.rules.rulesystem.rules.functions.*
		jadex.commons.IFilter
	
	
	
		
	

	
		
		
			
				// (Integer)$properties.get("standard.timeout")
				20000L
			
		

		

		
		
			IFilter.NEVER
		

		
		
			IFilter.NEVER
		
		
		
		
			true
		

	

	
	
		

		
		
			
			
			
			
			
			
			
			
			
			
			
			
			
			
				Boolean.FALSE
			
			
			
				new InteractionState()
			
			
			
			
			
			
			
		
		
		
		
			
			
			
			
			
			
				
					// ($goal.acceptables.length>0 ||
					// (select one ParticipantProposal $prop from $goal.proposals
					// where $prop.getEvaluation()==null)==null) ? true : null
					
					$beliefbase.true_const==$ret
					// $ret==true // Currently not supported by Rete builder.
					&&
					!($goal.acceptables.length==0 &&
						ParticipantProposal $prop &&
						$prop.getEvaluation()==null &&
						Arrays.asList($goal.proposals).contains($prop))
				
			
			
			
			
			
			
			
		

		
		
			
			
			
			
			
			
				new InteractionState()
			
			
			
		

		
		
			
			
			
			
			
			
			
			
		

		
		
			
			
			
			
			
			
			
			
		
		
		

		
		
			
			
			
			
			
			
			
			
			
			
			
			
			
			
				Boolean.FALSE
			
			
			
				new InteractionState()
			
			
			
			
			
			
			
		
		
		
		
			
			
			
			
			
			
				
					// ($goal.acceptables.length>0 ||
					// (select one ParticipantProposal $prop from $goal.proposals
					// where $prop.getEvaluation()==null)==null) ? true : null
					
					$beliefbase.true_const==$ret
					// $ret==true // Currently not supported by Rete builder.
					&&
					!($goal.acceptables.length==0 &&
						ParticipantProposal $prop &&
						$prop.getEvaluation()==null &&
						Arrays.asList($goal.proposals).contains($prop))
				
			
			
			
			
			
			
			
		
		
		
		
			
			
			
			
			
			
			
			
			
			
			
			
		

		
		
			
			
			
			
			
			
				new InteractionState()
			
			
			
		

		
		
			
			
			
			
			
			
			
			
		

		
		
			
			
			
			
			
			
			
			
		
		
		

		
		
			
			
			
			
			
			
			
			
		

	

	
		

		
			
				Boolean.FALSE
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
			
				
			
		

		
		
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
			
				
			
			$goal.cfp_info instanceof IProposalEvaluator
		
		
		
		
			
				"cnp_receiver_interaction"
			
			
			
				
			
		

		
			
				Boolean.FALSE
			
			
				
				
			
			
				
				
			
			
				
				
			
			
				
				
			
			
			
				
				
					SFipa.PROTOCOL_CONTRACT_NET.equals($goal.message.getParameter(SFipa.PROTOCOL).getValue())
				
			
		
		
		
		
		
			
				Boolean.TRUE
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
			
				
			
		

		
		
			
				
			
			
				
			
			
				
			
			
				
			
			
				
			
			
			
				
			
			$goal.cfp_info instanceof IProposalEvaluator
		

		
		
			
				
			
			
				
			
			
				
						
			
				
			
			
				
			
			
				
			
			
			
				
			
			$goal.cfp_info instanceof IQueryNextroundInfo
		

		
			
				"icnp_receiver_interaction"
			
			
			
				
			
		

		
			
				Boolean.TRUE
			
			
				
				
			
			
				
				
			
			
				
				
			
			
				
				
			
			
			
				
				
					SFipa.PROTOCOL_ITERATED_CONTRACT_NET.equals($goal.message.getParameter(SFipa.PROTOCOL).getValue())
				
			
		
		
	

	
		

		
			
				SFipa.CFP
			
			
				SFipa.PROTOCOL_CONTRACT_NET
			
			
			
				SFipa.createUniqueId($scope.getAgentName())
			
			
			
				SFipa.JADEX_XML
 			
			/* $beliefbase.cnp_filter.filter($messagemap) && */ $conversation_id!=null
		

		
			
				SFipa.PROPOSE
			
			
				SFipa.PROTOCOL_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		

		
			
				SFipa.REFUSE
			
			
				SFipa.PROTOCOL_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		

		
			
				SFipa.REJECT_PROPOSAL
			
			
				SFipa.PROTOCOL_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		

		
			
				SFipa.ACCEPT_PROPOSAL
			
			
				SFipa.PROTOCOL_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		

		
			
				SFipa.INFORM
			
			
				SFipa.PROTOCOL_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		

		
			
				SFipa.FAILURE
			
			
				SFipa.PROTOCOL_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		
		
		
			
				SFipa.NOT_UNDERSTOOD
			
			
				SFipa.PROTOCOL_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		
		
		

		
			
				SFipa.CFP
			
			
				SFipa.PROTOCOL_ITERATED_CONTRACT_NET
			
			
			
				SFipa.createUniqueId($scope.getAgentName())
			
			
			
				SFipa.JADEX_XML
 			
			/* $beliefbase.icnp_filter.filter($messagemap) && */ $conversation_id!=null
		

		
			
				SFipa.PROPOSE
			
			
				SFipa.PROTOCOL_ITERATED_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		

		
			
				SFipa.REFUSE
			
			
				SFipa.PROTOCOL_ITERATED_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		

		
			
				SFipa.REJECT_PROPOSAL
			
			
				SFipa.PROTOCOL_ITERATED_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		

		
			
				SFipa.ACCEPT_PROPOSAL
			
			
				SFipa.PROTOCOL_ITERATED_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		

		
			
				SFipa.INFORM
			
			
				SFipa.PROTOCOL_ITERATED_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		

		
			
				SFipa.FAILURE
			
			
				SFipa.PROTOCOL_ITERATED_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		
		
		
			
				SFipa.NOT_UNDERSTOOD
			
			
				SFipa.PROTOCOL_ITERATED_CONTRACT_NET
			
			
				SFipa.JADEX_XML
 			
 			$conversation_id!=null
		
		
	
	
	
		
	






© 2015 - 2025 Weber Informatics LLC | Privacy Policy