generalized link configuration method from rbms to anns