barsuift.simLife.tree
Interface TreeBranch

All Superinterfaces:
LivingPart, Persistent<State>

public interface TreeBranch
extends LivingPart


Method Summary
 java.math.BigDecimal collectFreeEnergy()
          Return the free energy in the branch, and set its value to 0
 TreeBranch3D getBranch3D()
           
 java.math.BigDecimal getEnergy()
          Return the energy of the branch
 int getNbLeaves()
           
 int getNbParts()
           
 java.util.List<TreeBranchPart> getParts()
           
 
Methods inherited from interface barsuift.simLife.LivingPart
getAge, spendTime
 
Methods inherited from interface barsuift.simLife.Persistent
getState, synchronize
 

Method Detail

getNbLeaves

int getNbLeaves()

getParts

java.util.List<TreeBranchPart> getParts()

getNbParts

int getNbParts()

getBranch3D

TreeBranch3D getBranch3D()

getEnergy

java.math.BigDecimal getEnergy()
Return the energy of the branch

Returns:
the energy

collectFreeEnergy

java.math.BigDecimal collectFreeEnergy()
Return the free energy in the branch, and set its value to 0

Returns:
the free energy


Copyright © 2010. All Rights Reserved.