36 #ifndef LATTICEBASEDMIGRATIONRULE_HPP_ 37 #define LATTICEBASEDMIGRATIONRULE_HPP_ 41 #include "AbstractMigrationRule.hpp" 42 #include "VesselNode.hpp" 43 #include "SmartPointers.hpp" 48 template<
unsigned DIM>
75 static boost::shared_ptr<LatticeBasedMigrationRule<DIM> >
Create();
102 std::vector<unsigned> neighbourIndices,
unsigned gridIndex);
112 std::vector<unsigned> neighbourIndices);
virtual ~LatticeBasedMigrationRule()
LatticeBasedMigrationRule()
virtual std::vector< int > GetIndices(const std::vector< boost::shared_ptr< VesselNode< DIM > > > &rNodes)
virtual int GetNeighbourMovementIndex(std::vector< double > movementProbabilities, std::vector< unsigned > neighbourIndices)
static boost::shared_ptr< LatticeBasedMigrationRule< DIM > > Create()
virtual std::vector< double > GetNeighbourMovementProbabilities(boost::shared_ptr< VesselNode< DIM > > pNode, std::vector< unsigned > neighbourIndices, unsigned gridIndex)
void SetMovementProbability(double movementProbability)
double mMovementProbability