void function ( NodeID arg0 , Factor < NodeID > arg1 ) { factors . put ( arg0 , arg1 ) ; arg1 . setMaxOperator ( MIN_OPERATOR ) ; arg1 . setIdentity ( arg0 ) ; arg1 . setCommunicationAdapter ( communicationAdapter ) ; }
adds a new factor to this agent concode_field_sep ProblemDefinition problem concode_elem_sep EntityID targetId concode_elem_sep MaxOperator MIN_OPERATOR concode_elem_sep RSLBenchCommunicationAdapter communicationAdapter concode_elem_sep BMSAtMostOneFactor<NodeID> variableNode concode_elem_sep long constraintChecks concode_elem_sep EntityID id concode_elem_sep HashMap<NodeID,EntityID> factorLocations concode_elem_sep double BLOCKED_PENALTY concode_elem_sep Logger Logger concode_elem_sep double POLICE_ETA concode_elem_sep HashMap<NodeID,Factor<NodeID>> factors concode_field_sep void receiveMessages concode_elem_sep EntityID getTarget concode_elem_sep void receiveMessage concode_elem_sep long getConstraintChecks concode_elem_sep Collection<BinaryMaxSumMessage> sendMessages concode_elem_sep boolean improveAssignment concode_elem_sep EntityID getID concode_elem_sep void initialize concode_elem_sep void computeFactorLocations concode_elem_sep void addPoliceFactor concode_elem_sep void addBlockadeFactors