case Algorithm.ReadOptimizedGraphity:
this.graph = new ReadOptimizedGraphity(this.graphDatabase);
break;
case Algorithm.WriteOptimizedGraphity:
this.graph = new WriteOptimizedGraphity(this.graphDatabase);
break;
default:
throw new IllegalArgumentException(
"invalid graph algorithm specified!");