This class defines a common interface for generic
algorithm strategies (e.g.,
NMFStrategy
).
name
and name<-
gets and sets the name
associated with an object. In the case of Strategy
objects it is the the name of the algorithm.
name(object, ...) # S4 method for Strategy
name(object, all = FALSE)
name(object, ...)<-value
an R object with a defined name
method
extra arguments to allow extension
replacement value
a logical that indicates if all the names
associated with a strategy should be returned
(TRUE
), or only the first (primary) one
(FALSE
).
character string giving the name of the algorithm
name of the package that defined the strategy.
default values for some of the algorithm's arguments.
signature(object = "Strategy")
:
Returns the name of an algorithm
signature(object = "Strategy")
:
Returns the name of an algorithm
signature(object = "Strategy", value
= "character")
: Sets the name(s) of an NMF algorithm
signature(object = "Strategy", value
= "character")
: Sets the name(s) of an NMF algorithm