Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-4365

FIWARE.Request.Tech.Data.CEP.Example about proton cep

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Herbert Diniz sent a message using the contact form at
      http://catalogue.fiware.org/.

      Dear,

      I'm trying use the Proton CEP, how is showed into Proton user guide,
      although, not run fine when my logical rules are related at the function
      "distance(x1,y1,x2,y2)"
      on a expression AuthoringTool, the documentations aren't clear for me, how
      could use this function? The demos projects, don't show how can I use it,
      could you show a example? I'm new in the proton API. Thank you!

      Best regards,
      Herbert Diniz

      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help-new

      [Created via e-mail received from: herberttb@gmail.com]

        Activity

        Hide
        TALI Fabiana Fournier added a comment -

        Dear Herbert,

        You need to provide 4 parameters, 2 for the first point and 3 for the
        second.
        The function calculate a geometric distance, sqrt((y2-y1)^2 + (x2-x1)^2).
        To refer to attribute of an event use the following:
        <EventName>.<EventAttributeName> for example attribute x of event a: a.x
        So if event a has attributes x,y and event b has attributes x,y , you can
        refer to the distance between those two points by writing:
        distance(a.x,a.y,b.x,b.y)

        Best regards,
        Tali

        Tali Yatzkar Haham
        Smart Decision Solutions
        IBM Research - Haifa, Israel
        tali@il.ibm.com 972-4-8296320

        From: "Manuel Escriche (JIRA)" <jira-help-desk@fi-ware.org>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 25/09/2015 01:04 PM
        Subject: [FI-WARE-JIRA] (HELP-4365) [Fiware-tech-help] [Complex
        Event Processing (CEP) - Proactive Technology Online] Example about proton
        cep

        [
        https://jira.fiware.org/browse/HELP-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
        ]

        Manuel Escriche reassigned HELP-4365:
        -------------------------------------

        Assignee: Tali Yatzkar Haham

        Technology Online] Example about proton cep
        ----------------------------------------------------------------------------------------------------------
        function
        how
        it,


        This message was sent by Atlassian JIRA
        (v6.4.1#64016)

        Show
        TALI Fabiana Fournier added a comment - Dear Herbert, You need to provide 4 parameters, 2 for the first point and 3 for the second. The function calculate a geometric distance, sqrt((y2-y1)^2 + (x2-x1)^2). To refer to attribute of an event use the following: <EventName>.<EventAttributeName> for example attribute x of event a: a.x So if event a has attributes x,y and event b has attributes x,y , you can refer to the distance between those two points by writing: distance(a.x,a.y,b.x,b.y) Best regards, Tali Tali Yatzkar Haham Smart Decision Solutions IBM Research - Haifa, Israel tali@il.ibm.com 972-4-8296320 From: "Manuel Escriche (JIRA)" <jira-help-desk@fi-ware.org> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 25/09/2015 01:04 PM Subject: [FI-WARE-JIRA] ( HELP-4365 ) [Fiware-tech-help] [Complex Event Processing (CEP) - Proactive Technology Online] Example about proton cep [ https://jira.fiware.org/browse/HELP-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Manuel Escriche reassigned HELP-4365 : ------------------------------------- Assignee: Tali Yatzkar Haham Technology Online] Example about proton cep ---------------------------------------------------------------------------------------------------------- function how it, – This message was sent by Atlassian JIRA (v6.4.1#64016)
        Hide
        TALI Fabiana Fournier added a comment -

        Dear Herbert,

        No, we do not have support for these functions.

        Best regards,
        Tali

        Tali Yatzkar Haham
        Smart Decision Solutions
        IBM Research - Haifa, Israel
        tali@il.ibm.com 972-4-8296320

        From: Herbertt <herberttb@gmail.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 30/09/2015 02:34 AM
        Subject: Re: [FI-WARE-JIRA] (HELP-4365) [Fiware-tech-help] [Complex
        Event Processing (CEP) - Proactive Technology Online] Example about proton
        cep

        Dear Tali,

        I have other consideration about Proton Expressions. I need work with
        envents that send angle of inclination in radians notation, the Proton
        AuthoringTool expressions provide suppor to the functions like sine and
        cosine?

        Best regards,
        Herbert

        Show
        TALI Fabiana Fournier added a comment - Dear Herbert, No, we do not have support for these functions. Best regards, Tali Tali Yatzkar Haham Smart Decision Solutions IBM Research - Haifa, Israel tali@il.ibm.com 972-4-8296320 From: Herbertt <herberttb@gmail.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 30/09/2015 02:34 AM Subject: Re: [FI-WARE-JIRA] ( HELP-4365 ) [Fiware-tech-help] [Complex Event Processing (CEP) - Proactive Technology Online] Example about proton cep Dear Tali, I have other consideration about Proton Expressions. I need work with envents that send angle of inclination in radians notation, the Proton AuthoringTool expressions provide suppor to the functions like sine and cosine? Best regards, Herbert
        Hide
        TALI Fabiana Fournier added a comment -

        Sent already to the user.
        The CEP has no support for sin,cos functions

        Show
        TALI Fabiana Fournier added a comment - Sent already to the user. The CEP has no support for sin,cos functions

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: