MCPcopy Create free account

hub / github.com/Paul-G2/copycat-js / functions

Functions381 in github.com/Paul-G2/copycat-js

↓ 2 callersMethodresume
* Resumes copycat if it is paused. *
src/Copycat.js:154
↓ 2 callersMethodslippability
* Returns a value representing the ease with which slippage can occur. *
src/ConceptMapping.js:57
↓ 2 callersMethodsqrtBlur
* Returns val +/- sqrt(val), where the sign is obtained randomly. * * @param {Number} val - The value to process. * @returns val +/
src/RandGen.js:121
↓ 2 callersMethodstart
* Starts running the copycat algorithm with the current strings. *
src/Copycat.js:114
↓ 2 callersMethodstrength
* Returns a value representing the strength of the concept-mapping. * (The closer and the more general the nodes, the stronger the * mapp
src/ConceptMapping.js:75
↓ 2 callersMethodstructureVsStructure
* Probabilistically decides which of two given structures to return, * based on their strengths as well as external weight factors. * *
src/Codelets/CodeletUtils.js:162
↓ 2 callersMethodsupports
* Indicates whether this mapping is compatible with another one. * * @param {ConceptMapping} other - The mapping to check.
src/ConceptMapping.js:240
↓ 2 callersMethodsymmetricVersion
* Returns a ConceptMapping like this one but with the initial and * target descriptions swapped. *
src/ConceptMapping.js:175
↓ 2 callersMethodtryUnclamp
* Unclamps the temperature if the given time is greater than * the clamping time. * * @param {Number} currentTime - The current tim
src/Temperature.js:77
↓ 2 callersMethodunclamp
* Unclamps the node's activation (so that its value can change). *
src/SlipNode.js:165
↓ 2 callersMethodupdateCodelets
* Posts a new batch of top-down and bottom-up codelets. *
src/Coderack.js:45
↓ 2 callersMethodupdateEverything
* Updates the structure strengths, and the happiness, importance, * and salience of all objects and strings in the workspace. *
src/Workspace.js:80
↓ 2 callersMethodupdateIntraStringUnhappiness
* Sets the string's intraStringUnhappiness value to the * average intraStringUnhappiness value of its objects. *
src/WorkspaceString.js:95
↓ 2 callersMethodupdateRelativeImportances
* Updates the relative importances of all objects in the string, * based on their raw importances and the total number of objects. *
src/WorkspaceString.js:77
↓ 2 callersMethodweightedGreaterThan
* Returns true or false, with probabilities a/(a+b) and * b/(a+b), respectively. * * @param {Number} a - First number. * @
src/RandGen.js:108
↓ 1 callersMethod_addDescriptions
* Creates and caches the descriptions of the Group. * @private
src/Group.js:57
↓ 1 callersMethod_addDescriptions
* Creates and caches the descriptions of the Letter. * @private
src/Letter.js:39
↓ 1 callersMethod_animationLoop
* Runs the animation loop. *
src/UI/Flasher.js:74
↓ 1 callersMethod_buildCodeletList
* Builds the list of known codelets. * @private
src/UI/CoderackUi.js:276
↓ 1 callersMethod_buildNodeInfoList
* Builds the list of node info objects that will be used to draw the * activation circles. * * @private
src/UI/SlipnetUi.js:202
↓ 1 callersMethod_buildUi
* Creates the ui elements. * @private *
src/UI/BatchmodeUi.js:37
↓ 1 callersMethod_buildUi
* Creates the ui elements. * @private *
src/UI/InputUi.js:45
↓ 1 callersMethod_buildUi
* Creates the ui elements. * @private *
src/UI/WorkspaceHeaderUi.js:38
↓ 1 callersMethod_buildUi
()
src/UI/HelpDialog.js:26
↓ 1 callersMethod_buildUi
* Creates the ui elements. * @private *
src/UI/TopbarUi.js:36
↓ 1 callersMethod_calculateIntraStringHappiness
* Calculates a happiness value for the object. * * @private
src/WorkspaceObject.js:76
↓ 1 callersMethod_calculateRawImportance
* Calculates a raw importance value for the object, * which is the sum of all relevant description activations. * * @private
src/WorkspaceObject.js:95
↓ 1 callersMethod_changeSubString
* Applies the Rule's text tranformation to the part of the * target string that needs to change. * * @private
src/Rule.js:219
↓ 1 callersMethod_chooseDirectedNeighbor
* Chooses a neighbor of the given object in the given direction. * @private
src/Codelets/TopDownBondScout_Direction.js:70
↓ 1 callersMethod_createLinks
* Creates the Slipnet links. * * @private
src/Slipnet.js:151
↓ 1 callersMethod_createNodes
* Creates the Slipnet nodes. * * @private
src/Slipnet.js:85
↓ 1 callersMethod_createTable
(parentDiv, nRows, nCols)
src/UI/BatchmodeUi.js:214
↓ 1 callersMethod_getIncompatibleBond
* Gets the incompatible bond, if any, for the given correspondence. * @private *
src/Codelets/CorrespondenceBuilder.js:156
↓ 1 callersMethod_getIncompatibleCorrespondences
* Returns a list of correspondences that are incompatible with a given bond. * @private
src/Codelets/BondBuilder.js:118
↓ 1 callersMethod_getIncompatibleGroups
* Gets all groups that have an object in common with * the given one. * @private
src/Codelets/GroupBuilder.js:135
↓ 1 callersMethod_getPossibleDescriptions
* Gets appropriate descriptions of an object, that match a given description type. * * @param {WorkspaceObject} obj - The object to descr
src/Codelets/TopDownDescriptionScout.js:61
↓ 1 callersMethod_getReplacementGraphic
* Gets or creates the graphic for a given Replacement object. * @private
src/UI/ReplacementsGraphic.js:56
↓ 1 callersMethod_get_seed_cyrb128
* Creates a 4-component seed for _sfc32, given an input seed. * Reference: https://stackoverflow.com/questions/521295/ * @private
src/RandGen.js:152
↓ 1 callersMethod_incompatibleRuleCorrespondence
* Determines if the given rule and correspondence are incompatible. * @private *
src/Codelets/CorrespondenceBuilder.js:129
↓ 1 callersMethod_initUi
* Lays out the UI. * @private * * @param {String} [title] - Text to be displayed in the dialog's title bar. * @param {String}
src/UI/Dialog.js:54
↓ 1 callersMethod_isInternallyCoherent
* Indicates Whether any pair of distinguishing mappings support * each other. * * @private
src/Correspondence.js:225
↓ 1 callersMethod_isReflexive
* Determines if the given correspondence is reflexive. * @private *
src/Codelets/CorrespondenceBuilder.js:188
↓ 1 callersMethod_localDensity
* Returns a measure of the density in the workspace strings of * bonds with the same bond-category and same direction-category * as this
src/Bond.js:160
↓ 1 callersMethod_onBatchModeToggled
* Handler for batchmode-toggle events * @private *
src/UI/CopycatUi.js:63
↓ 1 callersMethod_onCopycatStateChange
* Handler for state-change events * @private *
src/UI/CopycatUi.js:52
↓ 1 callersMethod_onResetBtnClick
* Handler for reset button clicks. * @private *
src/UI/BatchmodeUi.js:138
↓ 1 callersMethod_onResize
* Handler for resize events. * @private *
src/UI/CopycatUi.js:83
↓ 1 callersMethod_possibleGroupBonds
* From a given list of bonds, get bonds that match the chosen bond. * @private
src/Codelets/GroupScout_WholeString.js:84
↓ 1 callersMethod_postBottomUpCodelets
* Posts bottom-up codelets randomly chosen from a fixed set. * * @private
src/Coderack.js:173
↓ 1 callersMethod_postTopDownCodelets
* Posts codelets associated with fully-active nodes. * * @private
src/Coderack.js:134
↓ 1 callersMethod_sameCategories
* Checks whether two bonds have the same categories. * @private *
src/Codelets/BondBuilder.js:108
↓ 1 callersMethod_setInputsEnabled
* Enables or disables the input fields. * * @private
src/UI/InputUi.js:209
↓ 1 callersMethod_sfc32
* Returns a function that generates random numbers, seeded * with the given 4-component seed. * Reference: https://stackoverflow.com/q
src/RandGen.js:183
↓ 1 callersMethod_shortPropertyLinks
* Returns a random subset a descriptor's property links, preferring * links that are short. * @private *
src/Codelets/BottomUpDescriptionScout.js:65
↓ 1 callersMethod_singleLetterGroupProbability
* Calculates the probability of a single letter group. * @private
src/Codelets/TopDownGroupScout_Category.js:129
↓ 1 callersMethod_supports
* Indicates whether the Correspondence has any concept mappings that * support the concept mappings in a given one. * * @private
src/Correspondence.js:199
↓ 1 callersMethod_updateDrawParams
* Recalculates drawing parameters. * @private
src/UI/BondsGraphic.js:209
↓ 1 callersMethod_updateDrawParams
* Recalculates the drawing parameters for this object. * * @private
src/UI/SlipnetUi.js:138
↓ 1 callersMethod_updateDrawParams
* Recalculates the drawing parameters. * @private *
src/UI/StringGraphic.js:138
↓ 1 callersMethod_updateDrawParams
* Recalculates the drawing parameters for this object. * @private *
src/UI/LettersGraphic.js:109
↓ 1 callersMethod_updateDrawParams
* Recalculates drawing parameters. * @private
src/UI/GroupsGraphic.js:204
↓ 1 callersMethod_updateDrawParams
* Recalculates the drawing parameters for this object. * @private *
src/UI/DescriptionsGraphic.js:98
↓ 1 callersMethod_updateDrawParams
* Recalculates drawing parameters. * @private
src/UI/CorrsGraphic.js:249
↓ 1 callersMethod_updateDrawParams
* Recalculates the drawing parameters for this object. * * @private
src/UI/ArrowGraphic.js:50
↓ 1 callersMethod_updateDrawParams
* Recalculates the drawing parameters for this object. * * @private
src/UI/WorkspaceHeaderUi.js:325
↓ 1 callersMethod_updateDrawParams
* Recalculates drawing parameters. * @private
src/UI/ReplacementsGraphic.js:120
↓ 1 callersMethod_updateDrawParams
* Recalculates the drawing parameters for this object. * * @private
src/UI/RuleGraphic.js:63
↓ 1 callersMethod_updateDrawParams
* Recalculates the drawing parameters for this object. * * @private
src/UI/CoderackUi.js:161
↓ 1 callersMethod_updateEnabledState
* Updates the enabled/disabled state of the control buttons, * based on the current copycat state. * @private *
src/UI/BatchmodeUi.js:154
↓ 1 callersMethod_updateEnabledState
* Updates the enabled/disabled state of the control buttons, * based on the current copycat state. * @private *
src/UI/WorkspaceHeaderUi.js:205
↓ 1 callersMethodactivate
* Sets the activation of the descriptionType and descriptor to 100. *
src/Description.js:84
↓ 1 callersMethodaddDescriptions
* Adds a set of descriptions to the object and to the workspace * * @param {Array<Description>} descriptions - The descriptions to add.
src/WorkspaceObject.js:55
↓ 1 callersMethodapplyRuleToTarget
* Applies the Rule to the target string and returns the result. *
src/Rule.js:176
↓ 1 callersMethodbatchRun
* Runs the Copycat algorithm multiple times on a given input, * and returns the resulting stats. * * @param {Number} maxIterations
src/Copycat.js:267
↓ 1 callersMethodclampUntil
* Clamps the temperature until the given time. * * @param {Number} when - The time to unclamp.
src/Temperature.js:63
↓ 1 callersMethoddecayActivation
* Decays the node's activation, based on its conceptual depth. *
src/SlipNode.js:185
↓ 1 callersMethoddegreeOfAssociation
* Returns a measure of the shortness of links that are * labeled by this node. *
src/SlipNode.js:249
↓ 1 callersMethoderror
* Reports an error message.
src/ConsoleReporter.js:42
↓ 1 callersMethodfreezeConstants
* Freezes the class members that are meant to be immutable *
src/SlipNode.js:48
↓ 1 callersMethodgetCommonGroups
* Gets the groups that are common between this object and another one. * * @param {WorkspaceObject} other - The object to test against.
src/WorkspaceObject.js:276
↓ 1 callersMethodgetDescriptionType
* Gets the description type of this object that matches a * given descriptor. * * @param {SlipNode} descriptor - The descriptor to
src/WorkspaceObject.js:243
↓ 1 callersMethodintrinsicDegreeOfAssociation
* Returns a measure of the shortness of this link, or * of its label's intrinsic shortness if it has a label. *
src/SlipLink.js:75
↓ 1 callersMethodisContainedIn
* Indicates whether this object is contained (by value) in a given * list of mappings. * * @param {Array<ConceptMapping>} mappings
src/ConceptMapping.js:143
↓ 1 callersMethodisIncompatibleWith
* Indicates whether the Correspondence has the same assigned initial or * target object as the given one, or has any concept mappings that are
src/Correspondence.js:160
↓ 1 callersMethodisNearlyContainedIn
* Indicates whether a given list of mappings contains at least one * mapping that is nearly identical to this one. * * @param {Arra
src/ConceptMapping.js:160
↓ 1 callersMethodisOutsideOf
* Indicates whether the object is strictly outside another object. * * @param {WorkspaceObject} other - The object to test against.
src/WorkspaceObject.js:173
↓ 1 callersMethodisShown
* Indicates whether the dialog is currenty shown. *
src/UI/Dialog.js:129
↓ 1 callersMethodisSlipLinkedTo
* Indicates whether a given node is among this node's lateral slip links. * * @param {SlipNode} other - The node to test.
src/SlipNode.js:285
↓ 1 callersMethodrand
* Returns a random number in the range [0,1), sampled from * a uniform distribution. * * @returns A number in the range [0,1).
src/RandGen.js:36
↓ 1 callersMethodrelevantDistinguishingDescriptors
* Gets the fully-active distinguishing descriptors of the object. *
src/WorkspaceObject.js:206
↓ 1 callersMethodreset
* Resets the temperature to 100 and clamps it until time = 30. *
src/Temperature.js:27
↓ 1 callersMethodrun
* Runs the codelet.
src/Codelets/Breaker.js:32
↓ 1 callersMethodsetStepDelay
* Sets the time delay between steps. * * @param {Number} value - The time delay in milliseconds.
src/Copycat.js:104
↓ 1 callersMethodshow
* Shows the dialog. * * @param {Function} [onOk] - Function to invoke if the dialog's OK button is clicked. * @param {Function} [on
src/UI/Dialog.js:106
↓ 1 callersMethodsingleStep
* Executes a single codelet. *
src/Copycat.js:170
↓ 1 callersMethodspreadActivation
* If this node is fully active, increases the activation of * it's downstream nodes. Otherwise, does nothing. *
src/SlipNode.js:196
↓ 1 callersMethodsyncActivation
* Updates the node's actual activation with its buffered value, * then proabilistically decides whether to jump to full activation. *
src/SlipNode.js:210
↓ 1 callersMethodsynopsis
* Returns a string describing the object. *
src/Rule.js:41
↓ 1 callersMethodsynopsis
* Returns a string describing the object. *
src/Codelets/CodeletBase.js:30
↓ 1 callersMethodtoggleBatchMode
* Toggles us in or out of batch mode. * * @param {Boolean} value - The batchmode flag *
src/Copycat.js:79
← previousnext →101–200 of 381, ranked by callers