Swarm Intelligence AlgorithmsLearning and Adaptation in ANN