-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from d3scomp/newgen-muradyan
Newgen muradyan
- Loading branch information
Showing
307 changed files
with
68,911 additions
and
1,992 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
12,486 changes: 12,486 additions & 0 deletions
12,486
jdeeco-architecture/architecture-11.12.2013.emx
Large diffs are not rendered by default.
Oops, something went wrong.
16 changes: 8 additions & 8 deletions
16
jdeeco-concepts/.classpath → ...co-concepts/parkinglot-booking/.classpath
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry combineaccessrules="false" kind="src" path="/cz.cuni.mff.d3s.jdeeco.core"/> | ||
<classpathentry kind="lib" path="/cz.cuni.mff.d3s.jdeeco.core/target/cz.cuni.mff.d3s.jdeeco.core-2.0.0.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry combineaccessrules="false" kind="src" path="/cz.cuni.mff.d3s.jdeeco.core"/> | ||
<classpathentry kind="lib" path="/cz.cuni.mff.d3s.jdeeco.core/target/cz.cuni.mff.d3s.jdeeco.core-2.0.0.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
File renamed without changes.
46 changes: 23 additions & 23 deletions
46
jdeeco-concepts/.project → jdeeco-concepts/parkinglot-booking/.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>cz.cuni.mff.d3s.jdeeco.concepts</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>cz.cuni.mff.d3s.jdeeco.concepts.parkinglot-booking</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
114 changes: 57 additions & 57 deletions
114
...ts/parkinglotbooking/BookingEnsemble.java → ...ts/parkinglotbooking/BookingEnsemble.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
/******************************************************************************* | ||
* Copyright 2012 Charles University in Prague | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
******************************************************************************/ | ||
package cz.cuni.mff.d3s.deeco.concepts.parkinglotbooking; | ||
|
||
import cz.cuni.mff.d3s.deeco.annotations.Ensemble; | ||
import cz.cuni.mff.d3s.deeco.annotations.KnowledgeExchange; | ||
import cz.cuni.mff.d3s.deeco.annotations.Membership; | ||
import cz.cuni.mff.d3s.deeco.annotations.In; | ||
import cz.cuni.mff.d3s.deeco.annotations.Out; | ||
import cz.cuni.mff.d3s.deeco.annotations.PeriodicScheduling; | ||
import cz.cuni.mff.d3s.deeco.task.ParamHolder; | ||
|
||
/** | ||
* Sample car-park booking ensemble class. | ||
* | ||
* @author Jaroslav Keznikl | ||
* | ||
*/ | ||
|
||
@Ensemble | ||
@PeriodicScheduling(2000) | ||
public class BookingEnsemble { | ||
|
||
public final static long serialVersionUID = 1L; | ||
|
||
@Membership | ||
@PeriodicScheduling(2000) | ||
public static boolean membership( | ||
@In("member.targetPosition") Position targetPosition, | ||
@In("coord.position") Position position) { | ||
return targetPosition.equals(position); | ||
} | ||
|
||
@KnowledgeExchange | ||
public static void map( | ||
@In("member.request") Request request, | ||
@Out("member.response") ParamHolder<Response> response, | ||
@Out("coord.incomingRequests.[member.request.requestId]") ParamHolder<Request> incomingRequest, | ||
@In("coord.processedResponses.[member.request.requestId]") Response processedResponse) { | ||
incomingRequest.value = request; | ||
if (processedResponse != null) | ||
response.value = processedResponse; | ||
} | ||
} | ||
/******************************************************************************* | ||
* Copyright 2012 Charles University in Prague | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
******************************************************************************/ | ||
package cz.cuni.mff.d3s.deeco.concepts.parkinglotbooking; | ||
|
||
import cz.cuni.mff.d3s.deeco.annotations.Ensemble; | ||
import cz.cuni.mff.d3s.deeco.annotations.KnowledgeExchange; | ||
import cz.cuni.mff.d3s.deeco.annotations.Membership; | ||
import cz.cuni.mff.d3s.deeco.annotations.In; | ||
import cz.cuni.mff.d3s.deeco.annotations.Out; | ||
import cz.cuni.mff.d3s.deeco.annotations.PeriodicScheduling; | ||
import cz.cuni.mff.d3s.deeco.task.ParamHolder; | ||
|
||
/** | ||
* Sample car-park booking ensemble class. | ||
* | ||
* @author Jaroslav Keznikl | ||
* | ||
*/ | ||
|
||
@Ensemble | ||
@PeriodicScheduling(2000) | ||
public class BookingEnsemble { | ||
|
||
public final static long serialVersionUID = 1L; | ||
|
||
@Membership | ||
@PeriodicScheduling(2000) | ||
public static boolean membership( | ||
@In("member.targetPosition") Position targetPosition, | ||
@In("coord.position") Position position) { | ||
return targetPosition.equals(position); | ||
} | ||
|
||
@KnowledgeExchange | ||
public static void map( | ||
@In("member.request") Request request, | ||
@Out("member.response") ParamHolder<Response> response, | ||
@Out("coord.incomingRequests.[member.request.requestId]") ParamHolder<Request> incomingRequest, | ||
@In("coord.processedResponses.[member.request.requestId]") Response processedResponse) { | ||
incomingRequest.value = request; | ||
if (processedResponse != null) | ||
response.value = processedResponse; | ||
} | ||
} |
20 changes: 10 additions & 10 deletions
20
...eco/concepts/parkinglotbooking/CarId.java → ...eco/concepts/parkinglotbooking/CarId.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package cz.cuni.mff.d3s.deeco.concepts.parkinglotbooking; | ||
|
||
public class CarId extends ObjectId<String> { | ||
|
||
private static final long serialVersionUID = -2735011877397458843L; | ||
|
||
public CarId(String value) { | ||
super(value); | ||
} | ||
} | ||
package cz.cuni.mff.d3s.deeco.concepts.parkinglotbooking; | ||
|
||
public class CarId extends ObjectId<String> { | ||
|
||
private static final long serialVersionUID = -2735011877397458843L; | ||
|
||
public CarId(String value) { | ||
super(value); | ||
} | ||
} |
Oops, something went wrong.