示例#1
0
  void search()
  {
    if (searched)
      return;
    searched = true;

    Node *start_node = new (node_pool.malloc()) Node(domain.get_start_state(),
                                                     0,
                                                     0);
    domain.compute_heuristic(*start_node);
    goal = idastar_search(start_node);
  }
示例#2
0
void *PickupGrantUpdate::operator new(size_t aSize)
{
	return killpool.malloc();
}
示例#3
0
void *Pickup::operator new(size_t aSize)
{
	return pool.malloc();
}
示例#4
0
void *Weapon::operator new(size_t aSize)
{
	return pool.malloc();
}
示例#5
0
void *Collidable::operator new(size_t aSize)
{
	return pool.malloc();
}
示例#6
0
void *VarCommand::operator new(size_t aSize)
{
	return varcommandpool.malloc();
}
示例#7
0
void *Spawner::operator new(size_t aSize)
{
	return pool.malloc();
}
示例#8
0
void *VarScope::operator new(size_t aSize)
{
	return varscopepool.malloc();
}
示例#9
0
void *VarString::operator new(size_t aSize)
{
	return varstringpool.malloc();
}
示例#10
0
void *VarFloat::operator new(size_t aSize)
{
	return varfloatpool.malloc();
}
示例#11
0
void *VarInteger::operator new(size_t aSize)
{
	return varintegerpool.malloc();
}
示例#12
0
void* SimpleParticle::operator new(size_t count)
{
	assert(count <= sizeof(SimpleParticle));
	return particlePool.malloc();
}