changeset 129:b93a1c0a4dc7 working

delete four files
author sugi
date Mon, 06 Aug 2012 17:39:14 +0900
parents 9db7fcf98ee9
children 1b142e37375f
files src/alice/test/topology/fishmodel/alpha/CheckMyName.java src/alice/test/topology/fishmodel/alpha/FishMovementConfig.java src/alice/test/topology/fishmodel/alpha/FishMovementTopology.java src/alice/test/topology/fishmodel/alpha/StartFishMovement.java
diffstat 4 files changed, 0 insertions(+), 95 deletions(-) [+]
line wrap: on
line diff
--- a/src/alice/test/topology/fishmodel/alpha/CheckMyName.java	Mon Aug 06 17:35:45 2012 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-package alice.test.topology.fishmodel.alpha;
-
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import alice.codesegment.CodeSegment;
-import alice.datasegment.CommandType;
-import alice.datasegment.Receiver;
-import alice.test.topology.share.CheckLocalIndex;
-import alice.test.topology.share.CheckParentIndex;
-
-public class CheckMyName extends CodeSegment {
-	Receiver host = ids.create(CommandType.PEEK);
-	Pattern pattern = Pattern.compile("^(node|cli)([0-9]+)$");
-	String key = "fish";
-	
-	@Override
-	public void run(){
-		
-		String name = host.asString();
-		Matcher matcher = pattern.matcher(name);
-		
-		matcher.find();
-		String type = matcher.group(1);
-		int num = new Integer(matcher.group(2));
-		
-		if (type.equals("cli")){
-			System.out.println("cli"+num);
-			ods.update("local", key, new FishPoint(0.0f,0.0f));
-			MakeFrame frame =  new MakeFrame(name);
-			
-			MakeObject obj3 = new MakeObject(frame);
-			frame.register(obj3);
-			new SetLocation(obj3,key,0,num);
-			new CheckLocalIndex(key,0);
-			new CheckParentIndex(key,0);
-			/*
-			MakeObject obj = new MakeObject(frame);
-			frame.register(obj);
-			new CheckFishLocation(obj,"fish1X");
-			*/					
-		}else if(type.equals("node")){
-			System.out.println("node0");
-			
-			ods.update("local", key, new FishPoint(0.0f,0.0f));
-			//ods.update("local", "fish1X", new FishPoint(-1.0f,0.0f));
-			if(num == 0){
-				new LookData(key,0);
-			} else {
-				new CheckLocalIndex(key,0);
-				new CheckParentIndex(key,0);
-				
-			}
-			
-			
-			
-		}
-	}
-}
--- a/src/alice/test/topology/fishmodel/alpha/FishMovementConfig.java	Mon Aug 06 17:35:45 2012 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-package alice.test.topology.fishmodel.alpha;
-
-import alice.topology.node.TopologyNodeConfig;;
-
-public class FishMovementConfig extends TopologyNodeConfig {
-	
-	public FishMovementConfig(String[] args){
-		super(args);
-	} 
-	
-
-}
--- a/src/alice/test/topology/fishmodel/alpha/FishMovementTopology.java	Mon Aug 06 17:35:45 2012 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-package alice.test.topology.fishmodel.alpha;
-import alice.topology.node.TopologyNode;
-
-public class FishMovementTopology {
-	public static void main(String[] args){
-		FishMovementConfig conf = new FishMovementConfig(args);
-		new TopologyNode(conf, new StartFishMovement());
-		
-	}
-
-}
--- a/src/alice/test/topology/fishmodel/alpha/StartFishMovement.java	Mon Aug 06 17:35:45 2012 +0900
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-package alice.test.topology.fishmodel.alpha;
-
-import alice.codesegment.CodeSegment;
-
-public class StartFishMovement extends CodeSegment{
-	@Override
-	public void run(){
-		CheckMyName cs = new CheckMyName();
-		cs.host.setKey("local","host");
-	}
-	
-
-}