RE: Setting variable value in Compute class and using it in the next superstep

2014-07-23 Thread Sardeshmukh, Vivek
y 23, 2014 12:10 PM To: user@giraph.apache.org Subject: RE: Setting variable value in Compute class and using it in the next superstep Hello again, As Tom and Matthew suggested I wrote my own custom vertex value class and input format class. I followed Matthew's example to create my ow

RE: Setting variable value in Compute class and using it in the next superstep

2014-07-23 Thread Sardeshmukh, Vivek
Thank you. Vivek From: Sardeshmukh, Vivek Sent: Monday, July 21, 2014 6:06 PM To: user@giraph.apache.org Subject: RE: Setting variable value in Compute class and using it in the next superstep Thank you Matthew. Now writing a custom vertex class and input format seems doable! Th

RE: Setting variable value in Compute class and using it in the next superstep

2014-07-21 Thread Sardeshmukh, Vivek
lue field then it doesn't know how to load the input. Am I right? Vivek From: Schweiger, Tom mailto:thschwei...@ebay.com>> Sent: Monday, July 21, 2014 5:16 PM To: user@giraph.apache.org<mailto:user@giraph.apache.org> Subject: RE: Setting variable value in Compute class and us

Re: Setting variable value in Compute class and using it in the next superstep

2014-07-21 Thread Matthew Saltz
t know how to > load the input. Am I right? > > > > Vivek > ------ > *From:* Schweiger, Tom > *Sent:* Monday, July 21, 2014 5:16 PM > *To:* user@giraph.apache.org > *Subject:* RE: Setting variable value in Compute class and using it in > t

RE: Setting variable value in Compute class and using it in the next superstep

2014-07-21 Thread Sardeshmukh, Vivek
n't know how to load the input. Am I right? Vivek From: Schweiger, Tom Sent: Monday, July 21, 2014 5:16 PM To: user@giraph.apache.org Subject: RE: Setting variable value in Compute class and using it in the next superstep For more than one flag, a custom c

RE: Setting variable value in Compute class and using it in the next superstep

2014-07-21 Thread Schweiger, Tom
org Subject: Re: Setting variable value in Compute class and using it in the next superstep Tom, If it's necessary to store more than one flag though, for example, won't a custom class be necessary? I'm a beginner too, so I apologize if I'm incorrect about that. Just to be cla

Re: Setting variable value in Compute class and using it in the next superstep

2014-07-21 Thread Matthew Saltz
't need a custom vertex class or vertex input format. You can > create/initialize the value at the beginning of the first superstep. > > -- > *From:* Sardeshmukh, Vivek [vivek-sardeshm...@uiowa.edu] > *Sent:* Monday, July 21, 2014 2:05 PM > *To:* user

RE: Setting variable value in Compute class and using it in the next superstep

2014-07-21 Thread Sardeshmukh, Vivek
user@giraph.apache.org Subject: RE: Setting variable value in Compute class and using it in the next superstep And in answer of : This post also suggests (along with what I described above) to have a field in the vertex value itself. For that I need to change the vertex input format and also create m

RE: Setting variable value in Compute class and using it in the next superstep

2014-07-21 Thread Schweiger, Tom
ertex input format. You can create/initialize the value at the beginning of the first superstep. From: Sardeshmukh, Vivek [vivek-sardeshm...@uiowa.edu] Sent: Monday, July 21, 2014 2:05 PM To: user@giraph.apache.org Subject: Setting variable value in Compute class and

RE: Setting variable value in Compute class and using it in the next superstep

2014-07-21 Thread Schweiger, Tom
@giraph.apache.org Subject: Setting variable value in Compute class and using it in the next superstep Hi, all-- In my algorithm, I need to set a flag if certain conditions hold (locally at a vertex v). If this flag is set then execute some other block of code *only once*, and do nothing until some other

Setting variable value in Compute class and using it in the next superstep

2014-07-21 Thread Sardeshmukh, Vivek
Hi, all-- In my algorithm, I need to set a flag if certain conditions hold (locally at a vertex v). If this flag is set then execute some other block of code *only once*, and do nothing until some other condition is hold. My question is, can I declare a flag variable in the class where I over