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

Create a set of default functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.1
    • process
    • 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

              okram Marko A. Rodriguez
              dkuppitz Daniel Kuppitz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: