SnnsRObjectFactory: SnnsR object factory

View source: R/SnnsRObjectFactory.R

SnnsRObjectFactoryR Documentation

SnnsR object factory

Description

Object factory to create a new object of type SnnsR-class.

Usage

SnnsRObjectFactory(x = NULL)

Arguments

x

(optional) object of class SnnsR-class, to be deep-copied

Details

This function creates a new object of class SnnsR-class, initializes its only slot variables with a new environment, generates a new C++ object of class SnnsCLib, and an empty object serialization.

See Also

$, SnnsR-class

Examples

mySnnsObject <- SnnsRObjectFactory()
mySnnsObject$setLearnFunc('Quickprop')
mySnnsObject$setUpdateFunc('Topological_Order') 

RSNNS documentation built on May 31, 2023, 5:43 p.m.