Menu

Pass arguments to a GAS Program.

Help
2016-05-26
2016-05-27
  • Antonio Quirós

    Antonio Quirós - 2016-05-26

    Hello,

    I've developed a GAS Program using the GAS API. Although, I have a parameter that I would like to set before starting the program. I've seen that you can pass parameters like number of rounds or max number of vertices visited. Is there a way I can pass an (own) argument to the program in the query?

    Thanks a lot.

     
  • Bryan Thompson

    Bryan Thompson - 2016-05-27

    The easiest thing is to look at how an existing GAS algorithm, such as BFS, is handling the arguments. If you have looked at that code, do you have a specific question about how it is working?

    Thanks,
    Bryan

     

Log in to post a comment.