Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1632

Create a set of default functions

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.1
    • Component/s: process
    • Labels:
      None

      Description

      We already have a a set of default BiFunctions / operators, that are not treated as lambdas. We should also have a bunch of simple functions, that can then be used in map() or sack() and that can be serialized as bytecode. For example:

      ...map(sqrt)
      ...map(log)
      ...sack(sigmoid)     // compute sigmoid of the current sack and update the sack
      ...sack(cos).by("x") // compute the cosine of the current element's "x" and assign / overwrite the current sack value
      

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              okram Marko A. Rodriguez
              Reporter:
              dkuppitz Daniel Kuppitz

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment