Swarm/flock optimization algorithms as continuous dynamic systems