0

I have a complex Network represented as hypergraph
Hypergraph vertices are from various type:image,tag .... I have also various type of hyper-edge that relate vertices Homogenous HyperEdge :ImageImageHyperEdge ,TagTagHyperHedge ... Heterogenous HyperEdge :ImageTagHyperEdge , ImageTagLocationHyperEdge...

So I think Strategy pattern is useful for such situation
I quickly drew this uml diagram enter image description here

Is this right usage of Strategy pattern ?

another question for example for image vertex may has different heterogenous hyper-edge type ImageTag ,ImageTagLocation how to do this ?

nawara
  • 1,157
  • 3
  • 24
  • 49

0 Answers0