func NewGene(weight float64, inNode, outNode *network.NNode, recurrent bool, innovationNum int64, mutationNum float64) *Gene {
	return NewConnectionGene(network.NewLink(weight, inNode, outNode, recurrent), innovationNum, mutationNum, true)
}
NewGene Creates new Gene
package genetics
import (
	"fmt"
	"github.com/yaricom/goNEAT/v2/neat"
	"github.com/yaricom/goNEAT/v2/neat/network"
)
type Gene struct {
	Link *network.Link
	InnovationNum int64
	MutationNum float64
	IsEnabled bool
}