Shared pointer can make our code more secure. shared_pointer is a kind of pointer that allow to others pointer share his container. And when no pointer points to a container, the garbage collector erase the container thus ensuring the reliable of the program in order to no consume the heap of the process.
If we use the next code, the above behaviour.
The follow code show the common error, creating new pointers and not erase the container.
If we compile and execute this two codes, we obtain the next statistical result:
viernes, 29 de octubre de 2010
martes, 5 de octubre de 2010
snGraph package provides a flexible and efficient tool for manage graphs representing scale-free network. Can be integrated into others informatic systems. It can be read easily from databases, for example using Hibernate, and build graphs using models. It can serve of bridge between data and software in order to make analisis, for example we can use Ucinet. Also permite design and implement new custom algorithms.