Free cookie consent management tool by TermsFeed Policy Generator

source: branches/GeneralizedQAP/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/Service References/QAPServiceReference/Reference.cs @ 6733

Last change on this file since 6733 was 6733, checked in by abeham, 13 years ago

#1619

  • Updated the model slightly
  • Deployed the service
  • Updated the GUI to perform asynchronous calls to the service
File size: 11.9 KB
Line 
1//------------------------------------------------------------------------------
2// <auto-generated>
3//     This code was generated by a tool.
4//     Runtime Version:4.0.30319.235
5//
6//     Changes to this file may cause incorrect behavior and will be lost if
7//     the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference {
12    using System.Runtime.Serialization;
13    using System;
14   
15   
16    [System.Diagnostics.DebuggerStepThroughAttribute()]
17    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
18    [System.Runtime.Serialization.DataContractAttribute(Name="QAPInstanceDto", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.ProblemInstances")]
19    [System.SerializableAttribute()]
20    public partial class QAPInstanceDto : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
21       
22        [System.NonSerializedAttribute()]
23        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
24       
25        [System.Runtime.Serialization.OptionalFieldAttribute()]
26        private double BestKnownQualityField;
27       
28        [System.Runtime.Serialization.OptionalFieldAttribute()]
29        private string DescriptionField;
30       
31        [System.Runtime.Serialization.OptionalFieldAttribute()]
32        private double[][] DistancesField;
33       
34        [System.Runtime.Serialization.OptionalFieldAttribute()]
35        private bool HasBestKnownQualityField;
36       
37        [System.Runtime.Serialization.OptionalFieldAttribute()]
38        private bool MaximizationField;
39       
40        [System.Runtime.Serialization.OptionalFieldAttribute()]
41        private string NameField;
42       
43        [System.Runtime.Serialization.OptionalFieldAttribute()]
44        private double[][] WeightsField;
45       
46        [global::System.ComponentModel.BrowsableAttribute(false)]
47        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
48            get {
49                return this.extensionDataField;
50            }
51            set {
52                this.extensionDataField = value;
53            }
54        }
55       
56        [System.Runtime.Serialization.DataMemberAttribute()]
57        public double BestKnownQuality {
58            get {
59                return this.BestKnownQualityField;
60            }
61            set {
62                if ((this.BestKnownQualityField.Equals(value) != true)) {
63                    this.BestKnownQualityField = value;
64                    this.RaisePropertyChanged("BestKnownQuality");
65                }
66            }
67        }
68       
69        [System.Runtime.Serialization.DataMemberAttribute()]
70        public string Description {
71            get {
72                return this.DescriptionField;
73            }
74            set {
75                if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
76                    this.DescriptionField = value;
77                    this.RaisePropertyChanged("Description");
78                }
79            }
80        }
81       
82        [System.Runtime.Serialization.DataMemberAttribute()]
83        public double[][] Distances {
84            get {
85                return this.DistancesField;
86            }
87            set {
88                if ((object.ReferenceEquals(this.DistancesField, value) != true)) {
89                    this.DistancesField = value;
90                    this.RaisePropertyChanged("Distances");
91                }
92            }
93        }
94       
95        [System.Runtime.Serialization.DataMemberAttribute()]
96        public bool HasBestKnownQuality {
97            get {
98                return this.HasBestKnownQualityField;
99            }
100            set {
101                if ((this.HasBestKnownQualityField.Equals(value) != true)) {
102                    this.HasBestKnownQualityField = value;
103                    this.RaisePropertyChanged("HasBestKnownQuality");
104                }
105            }
106        }
107       
108        [System.Runtime.Serialization.DataMemberAttribute()]
109        public bool Maximization {
110            get {
111                return this.MaximizationField;
112            }
113            set {
114                if ((this.MaximizationField.Equals(value) != true)) {
115                    this.MaximizationField = value;
116                    this.RaisePropertyChanged("Maximization");
117                }
118            }
119        }
120       
121        [System.Runtime.Serialization.DataMemberAttribute()]
122        public string Name {
123            get {
124                return this.NameField;
125            }
126            set {
127                if ((object.ReferenceEquals(this.NameField, value) != true)) {
128                    this.NameField = value;
129                    this.RaisePropertyChanged("Name");
130                }
131            }
132        }
133       
134        [System.Runtime.Serialization.DataMemberAttribute()]
135        public double[][] Weights {
136            get {
137                return this.WeightsField;
138            }
139            set {
140                if ((object.ReferenceEquals(this.WeightsField, value) != true)) {
141                    this.WeightsField = value;
142                    this.RaisePropertyChanged("Weights");
143                }
144            }
145        }
146       
147        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
148       
149        protected void RaisePropertyChanged(string propertyName) {
150            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
151            if ((propertyChanged != null)) {
152                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
153            }
154        }
155    }
156   
157    [System.Diagnostics.DebuggerStepThroughAttribute()]
158    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
159    [System.Runtime.Serialization.DataContractAttribute(Name="QAPSolutionDto", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.ProblemInstances")]
160    [System.SerializableAttribute()]
161    public partial class QAPSolutionDto : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
162       
163        [System.NonSerializedAttribute()]
164        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
165       
166        [System.Runtime.Serialization.OptionalFieldAttribute()]
167        private int[] AssignmentField;
168       
169        [System.Runtime.Serialization.OptionalFieldAttribute()]
170        private bool AssignmentUndefinedField;
171       
172        [System.Runtime.Serialization.OptionalFieldAttribute()]
173        private double QualityField;
174       
175        [global::System.ComponentModel.BrowsableAttribute(false)]
176        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
177            get {
178                return this.extensionDataField;
179            }
180            set {
181                this.extensionDataField = value;
182            }
183        }
184       
185        [System.Runtime.Serialization.DataMemberAttribute()]
186        public int[] Assignment {
187            get {
188                return this.AssignmentField;
189            }
190            set {
191                if ((object.ReferenceEquals(this.AssignmentField, value) != true)) {
192                    this.AssignmentField = value;
193                    this.RaisePropertyChanged("Assignment");
194                }
195            }
196        }
197       
198        [System.Runtime.Serialization.DataMemberAttribute()]
199        public bool AssignmentUndefined {
200            get {
201                return this.AssignmentUndefinedField;
202            }
203            set {
204                if ((this.AssignmentUndefinedField.Equals(value) != true)) {
205                    this.AssignmentUndefinedField = value;
206                    this.RaisePropertyChanged("AssignmentUndefined");
207                }
208            }
209        }
210       
211        [System.Runtime.Serialization.DataMemberAttribute()]
212        public double Quality {
213            get {
214                return this.QualityField;
215            }
216            set {
217                if ((this.QualityField.Equals(value) != true)) {
218                    this.QualityField = value;
219                    this.RaisePropertyChanged("Quality");
220                }
221            }
222        }
223       
224        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
225       
226        protected void RaisePropertyChanged(string propertyName) {
227            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
228            if ((propertyChanged != null)) {
229                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
230            }
231        }
232    }
233   
234    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
235    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="QAPServiceReference.IQAP")]
236    public interface IQAP {
237       
238        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQAP/GetProblemInstances", ReplyAction="http://tempuri.org/IQAP/GetProblemInstancesResponse")]
239        string[] GetProblemInstances();
240       
241        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQAP/GetProblemInstanceData", ReplyAction="http://tempuri.org/IQAP/GetProblemInstanceDataResponse")]
242        HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.QAPInstanceDto GetProblemInstanceData(string instance);
243       
244        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQAP/GetBestSolutionsData", ReplyAction="http://tempuri.org/IQAP/GetBestSolutionsDataResponse")]
245        HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.QAPSolutionDto[] GetBestSolutionsData(string instance);
246    }
247   
248    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
249    public interface IQAPChannel : HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.IQAP, System.ServiceModel.IClientChannel {
250    }
251   
252    [System.Diagnostics.DebuggerStepThroughAttribute()]
253    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
254    public partial class QAPClient : System.ServiceModel.ClientBase<HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.IQAP>, HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.IQAP {
255       
256        public QAPClient() {
257        }
258       
259        public QAPClient(string endpointConfigurationName) :
260                base(endpointConfigurationName) {
261        }
262       
263        public QAPClient(string endpointConfigurationName, string remoteAddress) :
264                base(endpointConfigurationName, remoteAddress) {
265        }
266       
267        public QAPClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
268                base(endpointConfigurationName, remoteAddress) {
269        }
270       
271        public QAPClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
272                base(binding, remoteAddress) {
273        }
274       
275        public string[] GetProblemInstances() {
276            return base.Channel.GetProblemInstances();
277        }
278       
279        public HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.QAPInstanceDto GetProblemInstanceData(string instance) {
280            return base.Channel.GetProblemInstanceData(instance);
281        }
282       
283        public HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.QAPSolutionDto[] GetBestSolutionsData(string instance) {
284            return base.Channel.GetBestSolutionsData(instance);
285        }
286    }
287}
Note: See TracBrowser for help on using the repository browser.