Skip to content

Commit

Permalink
solving some inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Apr 16, 2020
1 parent fa55559 commit f75c631
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions colibricore_classes.in.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,10 @@ cdef extern from "patternmodel.h":



t_relationmap getsubchildren(Pattern & pattern, unsigned int occurrencethreshold, unsigned int category, unsigned int size) except +KeyError
t_relationmap getsubparents(Pattern & pattern, unsigned int occurrencethreshold, unsigned int category, unsigned int size) except +KeyError
t_relationmap getleftneighbours(Pattern & pattern, unsigned int occurrencethreshold, unsigned int category, unsigned int size, unsigned int cutoff) except +KeyError
t_relationmap getrightneighbours(Pattern & pattern, unsigned int occurrencethreshold, unsigned int category, unsigned int size, unsigned int cutoff) except +KeyError
t_relationmap getsubchildren(Pattern & pattern, unsigned int occurrencethreshold, int category, unsigned int size) except +KeyError
t_relationmap getsubparents(Pattern & pattern, unsigned int occurrencethreshold, int category, unsigned int size) except +KeyError
t_relationmap getleftneighbours(Pattern & pattern, unsigned int occurrencethreshold, int category, unsigned int size, unsigned int cutoff) except +KeyError
t_relationmap getrightneighbours(Pattern & pattern, unsigned int occurrencethreshold, int category, unsigned int size, unsigned int cutoff) except +KeyError
t_relationmap getskipcontent(Pattern & pattern) except +KeyError
t_relationmap gettemplates(Pattern & pattern, unsigned int occurrencethreshold) except +KeyError
t_relationmap getinstances(Pattern & pattern, unsigned int occurrencethreshold) except +KeyError
Expand Down
4 changes: 2 additions & 2 deletions include/patternmodel.h
Original file line number Diff line number Diff line change
Expand Up @@ -2514,8 +2514,8 @@ class PatternModel: public MapType, public PatternModelInterface {
virtual void outputrelations(const PatternPointer & , ClassDecoder & , std::ostream *, const std::string = "", bool=true) {} //does nothing for unindexed models
virtual t_relationmap getsubchildren(const PatternPointer & , unsigned int = 0, int = 0, unsigned int = 0) { return t_relationmap(); } //does nothing for unindexed models
virtual t_relationmap getsubparents(const PatternPointer &, unsigned int = 0, int = 0, unsigned int = 0) { return t_relationmap(); } //does nothing for unindexed models
virtual t_relationmap gettemplates(const PatternPointer & ,int = 0) { return t_relationmap(); } //does nothing for unindexed models
virtual t_relationmap getinstances(const PatternPointer & ,int = 0) { return t_relationmap(); } //does nothing for unindexed models
virtual t_relationmap gettemplates(const PatternPointer &, unsigned int = 0) { return t_relationmap(); } //does nothing for unindexed models
virtual t_relationmap getinstances(const PatternPointer &, unsigned int = 0) { return t_relationmap(); } //does nothing for unindexed models
virtual t_relationmap getskipcontent(const PatternPointer & ) { return t_relationmap(); } //does nothing for unindexed models
virtual t_relationmap getleftneighbours(const PatternPointer &, unsigned int = 0, int = 0, unsigned int = 0, unsigned int =0) { return t_relationmap(); } //does nothing for unindexed models
virtual t_relationmap getrightneighbours(const PatternPointer &, unsigned int = 0, int = 0, unsigned int = 0, unsigned int =0) { return t_relationmap(); } //does nothing for unindexed models
Expand Down

0 comments on commit f75c631

Please sign in to comment.