aa.application.AdaptiveQuad
Class QuadCyber

java.lang.Object
  extended byaa.core.CyberOrg
      extended byaa.application.AdaptiveQuad.QuadCyber
All Implemented Interfaces:
java.io.Serializable

public class QuadCyber
extends CyberOrg

Author:
xinghuizhao
See Also:
Serialized Form

Field Summary
 
Fields inherited from class aa.core.CyberOrg
height, m_anFacilitator, m_bIsActive, m_conContract, m_cybParent, m_lECash, m_llActors, m_llChildren, m_lPrice, m_lTicks, m_lTicksRate, m_lTimesliceAssigned, m_objaAgs, m_pPlatform, m_strFacilitatorClass
 
Constructor Summary
QuadCyber()
          Creates a new instance of QuadCyber
QuadCyber(java.lang.Long p_longTicks, java.lang.Long p_longTicksRate, java.lang.Long p_longECash, java.lang.String p_strFacili, java.lang.Object[] objaAgs)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void resourceAlloc(ActorName p_anNeedResource, long p_iRate, long p_iRes)
           
 
Methods inherited from class aa.core.CyberOrg
addChild, assimilate, chargeTotalTicks, deleteActor, deleteChild, findBestDestination, getActors, getChildren, getContract, getECash, getFacilitator, getHeight, getPlatform, getPrice, getResBack, getTicks, getTicksRate, insertActor, isolate, migrate, printInfo, receiveCyberOrg, receiveCyberOrg, resourceAlloc, resourceAlloc, resourceAllocForAll, setHeight, setNullChild, setParent, setPlatform, updateActors, updatePrice
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuadCyber

public QuadCyber()
Creates a new instance of QuadCyber


QuadCyber

public QuadCyber(java.lang.Long p_longTicks,
                 java.lang.Long p_longTicksRate,
                 java.lang.Long p_longECash,
                 java.lang.String p_strFacili,
                 java.lang.Object[] objaAgs)
Method Detail

resourceAlloc

public void resourceAlloc(ActorName p_anNeedResource,
                          long p_iRate,
                          long p_iRes)

main

public static void main(java.lang.String[] args)