Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TreeOrProcesstrees object

alejandro blengio
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! I'm trying to define an object that could be a binary tree or a Processtrees.
A Processtrees are the trees generated by a Process, a Process is defined by a Name and a list of states, each state generates a binary tree.
Being s1,s2,...,sn the list of states, which are less than 20 are just known Strings.

Processtress looks like this:

Class Processtrees{
String NameProcess;
ProcTrees= array[s1,..,sn]of binary tree
I think that ProcTrees could be defined using a map and it should work fine.
But I need to define a Class of something that could be a Processtress or a binary tree..
Please help and Thanks in advance
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic