answersLogoWhite

0

What is a mutator function?

Updated: 11/6/2022
User Avatar

Wiki User

10y ago

Best Answer

The term mutator function is a computer processing term. It is a function that takes a current state and returns a neighbor state, typically in a probabilistic manner.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a mutator function?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

A member function that allow the user of the class to change the value in a data member is known as?

I presume you mean C++, rather than C.That type of function is known as a mutator function.


What is a mutator in java?

A Java method that changes the state of an object is called a mutator. Mutators typically do not return a result (are declared to return void), although some mutators both change state and return a result (e.g., nextToken in StringTokenizer). Mutators just change state, without looking at current values, are often call "setters", and their names often start with set. In computer science, a mutator method is a method used to control changes to a variable.


What are the ratings and certificates for Mutator - 1989?

Mutator - 1989 is rated/received certificates of: Australia:M Iceland:16 UK:15 USA:R


How do you get the mega mutator merit on super Scribblenauts?

To get the mega mutator merit write big blue fierce gnarled beautiful spotted marine furry fish.There done!


How do you get the mutator trait for a virus in realistic mode on pandemic 2?

I got mutator when I sold one symptom and bought another one very early on. Hope this helps :)


What is the Latin 'mutator formarum' in English?

"Shape shifter" is an English equivalent of "mutator formarum."Specifically, the masculine gender noun "mutator" is in the nominative singular as the subject of the sentence. It means "he who changes." The feminine gender noun "formarum" is in the genitive singular as the object of possession. It means "of forms, of shapes."The pronunciation is "moo-TAH-tohr fohr-MAH-room" according to the liturgical Latin of the Church.


How do you use set and get in object-oriented programming?

A set function (or setter) is an object mutator. You use it to modify a property of an object such that the object's invariant is maintained. If the object has no invariant, a setter is not required. A get function (or getter) is an object accessor. You use it to obtain a property from an object such that the object's invariant is maintained. If the object has no invariant, you do not need a getter.


What are the naming conventions for accessor methods and mutator methods?

Accessors: getValue Mutators: setValue Example: class MyClass { int num; int getNum() { return num; } void setNum(int num) { this.num = num; } }


What actors and actresses appeared in Mutator - 1989?

The cast of Mutator - 1989 includes: Carolyn Ann Clark as Taylor Nick Ashby as Harper Charles Comyn as Harry Embeth Davidtz as Jennifer Jurgen Hellberg as Wade Lyn Hooker as Receptionist Brion James as David Allen Greg Latter as Murphy Milton Raphael Murill as Travers Denis Smith as Professor


What is 'shape shifter' in Latin?

"Mutator formarum" is the Latin equivalent of "shape shifter."Specifically, the masculine gender noun "mutator," in the nominative singular as the subject of the sentence, means "he who changes." The feminine gender noun "formarum," in the genitive singular as the object of possession, means "of forms, of shapes." The pronunciation is "moo-TAH-tohr fohr-MAH-room" according to the liturgical Latin of the Church.


What access attribute should instance variables have?

The basic coding standard is - all variables must be private and you must only expose them to the outside world through accessor/mutator methods. You must not keep them public.


What are accessors and mutator method in java?

An accessor is a method that accesses the contents of an object but does not modify that object. In the simplest case, an accessor just returns the value of one of the fields. In general, an accessor performs some computation using the fields as long as that computation does not modify any of the fields. Mutators A mutator is a method that can modify an object. In the simplest case, a mutator just assigns a new value to one of the fields. In general, a mutator performs some computation and modifies any number of fields. Sometimes, accessors are called 'getter' methods and mutators are called 'setter' methods.