public code v1
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
|
||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>flintstones.group</groupId>
|
||||
<artifactId>flintstones.bundles</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>flintstones.method.vikorFuzzy</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<packaging>eclipse-plugin</packaging>
|
||||
<name>[bundle] VIKOR Fuzzy</name>
|
||||
</project>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>flintstones.method.vikorFuzzy</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.pde.ManifestBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.pde.SchemaBuilder</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.pde.PluginNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1779484362708</id>
|
||||
<name></name>
|
||||
<type>30</type>
|
||||
<matcher>
|
||||
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
||||
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
||||
</matcher>
|
||||
</filter>
|
||||
</filteredResources>
|
||||
</projectDescription>
|
||||
@@ -0,0 +1,2 @@
|
||||
eclipse.preferences.version=1
|
||||
encoding/<project>=UTF-8
|
||||
@@ -0,0 +1,9 @@
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
|
||||
org.eclipse.jdt.core.compiler.compliance=11
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
|
||||
org.eclipse.jdt.core.compiler.release=enabled
|
||||
org.eclipse.jdt.core.compiler.source=11
|
||||
@@ -0,0 +1,4 @@
|
||||
activeProfiles=
|
||||
eclipse.preferences.version=1
|
||||
resolveWorkspaceProjects=true
|
||||
version=1
|
||||
@@ -0,0 +1,10 @@
|
||||
Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %Bundle-Name
|
||||
Bundle-SymbolicName: flintstones.method.vikorFuzzy;singleton:=true
|
||||
Bundle-Version: 1.0.0.qualifier
|
||||
Automatic-Module-Name: flintstones.method.vikorFuzzy
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-11
|
||||
Require-Bundle: flintstones.entity.validatedmethod,
|
||||
flintstones.valuation.linguistic,
|
||||
flintstones.helper.faq
|
||||
@@ -0,0 +1,2 @@
|
||||
#Properties file for flintstones.method.vikorFuzzy
|
||||
Bundle-Name = VIKOR Fuzzy
|
||||
@@ -0,0 +1,2 @@
|
||||
#Properties file for flintstones.method.vikorFuzzy
|
||||
Bundle-Name = Fuzzy VIKOR
|
||||
@@ -0,0 +1,8 @@
|
||||
source.. = src/
|
||||
output.. = bin/
|
||||
bin.includes = META-INF/,\
|
||||
.,\
|
||||
plugin.xml,\
|
||||
OSGI-INF/l10n/bundle.properties,\
|
||||
OSGI-INF/,\
|
||||
faq/
|
||||
@@ -0,0 +1 @@
|
||||
The Fuzzy VIKOR method has been developed to solve problem in a fuzzy environment where both criteria and weights could be fuzzy sets. The triangular fuzzy numbers are used to handle imprecise numerical quantities. Fuzzy VIKOR is based on the aggregating fuzzy merit that represents distance of an alternative to the ideal solution. The fuzzy operations and procedures for ranking fuzzy numbers are used in developing the fuzzy VIKOR algorithm.
|
||||
@@ -0,0 +1 @@
|
||||
El método Fuzzy VIKOR se ha desarrollado para resolver problemas en un contexto difuso en el que tanto los criterios como los pesos pueden ser conjuntos difusos. Los números difusos triangulares se utilizan para manejar cantidades numéricas imprecisas. Fuzzy VIKOR se basa en la agregación de méritos difusos que representan la distancia de una alternativa a la solución ideal. Las operaciones difusas y los procedimientos para clasificar los números difusos se utilizan en el desarrollo del algoritmo Fuzzy VIKOR.
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse version="3.4"?>
|
||||
<plugin>
|
||||
<extension
|
||||
point="flintstones.method.extension">
|
||||
<method
|
||||
category="flintstones.entity.method.multicriteria"
|
||||
implementation="flintstones.method.vikorFuzzy.FuzzyVikorMethod"
|
||||
uid="flintstones.method.vikorFuzzy">
|
||||
<phase
|
||||
uid="flintstones.method.fuzzy.common.phase.collectweights.experts">
|
||||
</phase>
|
||||
<phase
|
||||
uid="flintstones.method.fuzzy.common.phase.collectweights.criterion">
|
||||
</phase>
|
||||
<phase
|
||||
uid="flintstones.method.fuzzy.common.phase.aggregation">
|
||||
</phase>
|
||||
<phase
|
||||
uid="flintstones.method.vikorFuzzy.phase.result">
|
||||
</phase>
|
||||
</method>
|
||||
</extension>
|
||||
|
||||
</plugin>
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
package flintstones.method.vikorFuzzy;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
import org.eclipse.e4.core.contexts.ContextInjectionFactory;
|
||||
import org.eclipse.e4.core.services.nls.Translation;
|
||||
|
||||
import flintstones.entity.validatedmethod.ValidatedMethod;
|
||||
import flintstones.entity.valuation.Valuation;
|
||||
import flintstones.helper.chainvalidator.ChainValidator;
|
||||
import flintstones.helper.chainvalidator.operation.method.ValuationTypeOperation;
|
||||
import flintstones.helper.faq.interfaces.IMarkdownFAQ;
|
||||
import flintstones.method.vikorFuzzy.messages.Messages;
|
||||
import flintstones.valuation.linguistic.LinguisticValuation;
|
||||
|
||||
public class FuzzyVikorMethod extends ValidatedMethod implements IMarkdownFAQ {
|
||||
|
||||
@Inject
|
||||
@Translation
|
||||
private Messages messages;
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "Fuzzy Multicriteria Optimization and Compromise Solution (Fuzzy VIKOR)";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getFAQFile() {
|
||||
return "faq/faq";
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void reloadValidator() {
|
||||
|
||||
validator = ContextInjectionFactory.make(ChainValidator.class, context);
|
||||
|
||||
Valuation[] valuations = valuationService.getAll();
|
||||
String valuationsEntity = valuationMessages.Valuation_entity;
|
||||
|
||||
String[] validTypes = new String[1];
|
||||
validTypes[0] = LinguisticValuation.class.getSimpleName();
|
||||
ValuationTypeOperation valuationTypeOperator = new ValuationTypeOperation(valuationsEntity, validTypes,
|
||||
valuations);
|
||||
|
||||
validator.setReturn(this.getName()).custom(valuationTypeOperator).named("valuations");
|
||||
}
|
||||
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
package flintstones.method.vikorFuzzy.messages;
|
||||
|
||||
import org.eclipse.e4.core.services.nls.Message;
|
||||
|
||||
@Message
|
||||
@SuppressWarnings("javadoc")
|
||||
public class Messages {
|
||||
|
||||
public String method_name;
|
||||
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
method_name=Fuzzy Multicriteria Optimization and Compromise Solution (Fuzzy VIKOR)
|
||||
+1
@@ -0,0 +1 @@
|
||||
method_name=Optimización multicriterio y solución de compromiso difusa (Fuzzy VIKOR)
|
||||
Reference in New Issue
Block a user