@Override
	public void callAction(String args) {
		String perceptronName;
		String patternName;
		
		System.out.print("Name of perceptron to propagate: ");
		perceptronName = ui.inputToString();
		Perceptron perceptron = ds.getPerceptron(perceptronName);
		if(perceptron == null) {
			ui.printToConsole("Aborting... There is no Perceptron named '" + perceptronName + "'.");
			return;
		}
		
		System.out.print("Name of the Pattern to use the inputValues from: ");
		patternName = ui.inputToString();
		Object patternObject = ds.getPattern(patternName);
		if(patternObject instanceof Pattern) {
			perceptron.propagate((Pattern) patternObject, true);
		} else if(patternObject instanceof GroupPattern) {
			GroupPattern groupPatter = (GroupPattern) patternObject;
			for ( Pattern patter : groupPatter.getAllPatterns()) {
				perceptron.propagate(patter, true);
			} 
		} else {
			ui.printToConsole("Aborting... There is no Pattern named '" + patternName + "'.");
			return;
		}		
		
		
		
	}