Hi doru
with azadeh we would to use group to represent the intermediate result of applying a filter on a model. Now the problem I have is that I cannot query a group as model (may be I'm wrong). Apparently a group a class does not understand allClasses.
Is there a way that we can define/or get the behavior of a model on a group?
Stef
Hi Stef,
Could you provide just one example of such a filter?
Cheers, Doru
On Nov 30, 2007, at 2:17 PM, stephane ducasse wrote:
Hi doru
with azadeh we would to use group to represent the intermediate result of applying a filter on a model. Now the problem I have is that I cannot query a group as model (may be I'm wrong). Apparently a group a class does not understand allClasses.
Is there a way that we can define/or get the behavior of a model on a group?
Stef _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"We cannot reach the flow of things unless we let go."
On 2 déc. 07, at 10:33, Tudor Girba wrote:
Hi Stef,
Could you provide just one example of such a filter?
It is in AzadehExtraction From memory:
NameMatcher new classes; match: '*LAN*'
but this could be
NameMatcher new methods; match: '*foo'
and the implementation is classes kindSelectors := #allClasses
methods kindSelectors := #allMethods
Stef
Cheers, Doru
On Nov 30, 2007, at 2:17 PM, stephane ducasse wrote:
Hi doru
with azadeh we would to use group to represent the intermediate result of applying a filter on a model. Now the problem I have is that I cannot query a group as model (may be I'm wrong). Apparently a group a class does not understand allClasses.
Is there a way that we can define/or get the behavior of a model on a group?
Stef _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"We cannot reach the flow of things unless we let go."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Hi Stef,
I took a look at AzadehExtraction, and in all the ExtractionRules that are implemented you take the model as an input, but in the same time you know in each predicate what is the exact type of entities that you actually look for, and in the end you only return entities of the same type.
For example, name matching looks like: NameMatchingExtraction new matchingName: '*LAN*'; matchClasses; extract: model.
This returns a ClassGroup.
But could this not look like this: NameMatchingExtraction new matchingName: '*LAN*'; extract: model allClasses.
?
But perhaps you have further intentions with this package and this is just the beginning. I am still looking for the use case for heterogeneous groups :).
Also take a look at the ConformityStrategy hierarchy, because it is very similar in intent with AzadehExtraction.
Doru
On Dec 3, 2007, at 12:37 PM, Stéphane Ducasse wrote:
On 2 déc. 07, at 10:33, Tudor Girba wrote:
Hi Stef,
Could you provide just one example of such a filter?
It is in AzadehExtraction From memory:
NameMatcher new classes; match: '*LAN*'
but this could be
NameMatcher new methods; match: '*foo'
and the implementation is classes kindSelectors := #allClasses
methods kindSelectors := #allMethods
Stef
Cheers, Doru
On Nov 30, 2007, at 2:17 PM, stephane ducasse wrote:
Hi doru
with azadeh we would to use group to represent the intermediate result of applying a filter on a model. Now the problem I have is that I cannot query a group as model (may be I'm wrong). Apparently a group a class does not understand allClasses.
Is there a way that we can define/or get the behavior of a model on a group?
Stef _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"We cannot reach the flow of things unless we let go."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"In a world where everything is moving ever faster, one might have better chances to win by moving slower."
On 3 déc. 07, at 23:29, Tudor Girba wrote:
Hi Stef,
I took a look at AzadehExtraction, and in all the ExtractionRules that are implemented you take the model as an input, but in the same time you know in each predicate what is the exact type of entities that you actually look for, and in the end you only return entities of the same type.
For example, name matching looks like: NameMatchingExtraction new matchingName: '*LAN*'; matchClasses; extract: model.
This returns a ClassGroup.
But could this not look like this: NameMatchingExtraction new matchingName: '*LAN*'; extract: model allClasses.
?
but doru the problem is that I cannot compose fully encapsulated queries. Of cours I can do what you are saying but first I only wanted as input the group/model
But perhaps you have further intentions with this package and this is just the beginning. I am still looking for the use case for heterogeneous groups :).
I do not want really hetero groups, I want polymorphic group/model
Also take a look at the ConformityStrategy hierarchy, because it is very similar in intent with AzadehExtraction.
Azadeh can you have a look?
Doru
On Dec 3, 2007, at 12:37 PM, Stéphane Ducasse wrote:
On 2 déc. 07, at 10:33, Tudor Girba wrote:
Hi Stef,
Could you provide just one example of such a filter?
It is in AzadehExtraction From memory:
NameMatcher new classes; match: '*LAN*'
but this could be
NameMatcher new methods; match: '*foo'
and the implementation is classes kindSelectors := #allClasses
methods kindSelectors := #allMethods
Stef
Cheers, Doru
On Nov 30, 2007, at 2:17 PM, stephane ducasse wrote:
Hi doru
with azadeh we would to use group to represent the intermediate result of applying a filter on a model. Now the problem I have is that I cannot query a group as model (may be I'm wrong). Apparently a group a class does not understand allClasses.
Is there a way that we can define/or get the behavior of a model on a group?
Stef _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"We cannot reach the flow of things unless we let go."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"In a world where everything is moving ever faster, one might have better chances to win by moving slower."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev