Overview / Introduction
The Buffles de Borgou, hailing from Parakou in the Republic of Benin, is a prominent football team competing in the Benin Premier League. Established in 1970, the club has grown to become one of the most successful and recognized teams in the region. Managed by their dedicated coaching staff, Buffles de Borgou play their home games at the Stade Municipal de Parakou.
Team History and Achievements
Buffles de Borgou boasts a rich history marked by numerous titles and accolades. They have claimed multiple league championships and domestic cup victories, making them a dominant force in Beninese football. Notable seasons include consecutive league wins that solidified their status as one of the top teams in the country.
Current Squad and Key Players
The current squad features several standout players who are pivotal to the team’s success. Key players include:
- Goalkeeper: Emmanuel Kossi – Known for his exceptional reflexes and shot-stopping ability.
- Defender: Thomas Hounkpè – A central defender renowned for his defensive prowess.
- Midfielder: Joseph Dossou – A creative playmaker with excellent vision.
- Forward: Jean-Pierre Abalo – A prolific striker with an impressive goal-scoring record.
Team Playing Style and Tactics
Buffles de Borgou typically employ a 4-3-3 formation, focusing on strong midfield control and quick transitions to attack. Their strategy emphasizes ball possession, fluid passing, and exploiting spaces behind opposing defenses. Strengths include tactical discipline and resilience, while weaknesses may arise from occasional lapses in defensive concentration.
Interesting Facts and Unique Traits
The team is affectionately known as “The Buffaloes” due to their fierce playing style. With a passionate fanbase, they are celebrated for their vibrant matchday atmosphere. Rivalries with teams like AS Police add an extra layer of excitement to their fixtures.
Lists & Rankings of Players, Stats, or Performance Metrics
- ✅ Top Scorer: Jean-Pierre Abalo – 15 goals this season.
- ❌ Defensive Errors: Notable for occasional lapses leading to goals against them.
- 🎰 Betting Odds: Often favored in matches due to consistent performance.
- 💡 Player Potential: Young talents showing promise for future success.
Comparisons with Other Teams in the League or Division
Buffles de Borgou often compare favorably against other top-tier teams like AS Porto-Novo and Dragons FC. Their consistent performance places them among the league’s elite, frequently competing for top positions.
Case Studies or Notable Matches
A memorable match was their thrilling victory over AS Police in the league cup final last season. This game showcased their tactical acumen and ability to perform under pressure.
Tables Summarizing Team Stats, Recent Form, Head-to-Head Records, or Odds
| Tournament | Last Five Matches Result (W/D/L) | Avg Goals Scored per Match | Avg Goals Conceded per Match | Odds (Home/Away) |
|---|---|---|---|---|
| Premier League | W-W-D-L-W | 1.8 | 1.0 | +150 / +200 |
Tips & Recommendations for Analyzing the Team or Betting Insights 🎯 Advice Blocks 🎯
- Analyze Recent Form:
- Evaluate their last five matches for consistency.
- Leverage Player Stats:
- Focusing on key players’ performances can provide insights into potential match outcomes.
- Betting Strategy:
- Cash-in on home advantage when Buffles are playing at Stade Municipal de Parakou.
Quotes or Expert Opinions about the Team ⚽ Quote Block ⚽
“Buffles de Borgou’s tactical flexibility makes them formidable opponents,” says sports analyst Pierre N’Kouda.
The Pros & Cons of Buffles de Borgou’s Current Form or Performance ✅❌ Lists ✅❌
- ✅ Pros:
- Solid defense with minimal errors recently.
- ❌ Cons:</l// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;namespace Microsoft.ML.OnnxRuntime
{
/// Provides information about an ONNX operator.
public class OperatorInfo
{
/// The name of this operator.
public string Name { get; }/// The domain of this operator.
public string Domain { get; }/// The version number(s) supported by this operator.
public IEnumerable Version { get; }/// The number of inputs expected by this operator.
public int InputCount { get; }/// The number of outputs expected by this operator.
public int OutputCount { get; }/// The minimum number of inputs expected by this operator.
public int MinInputCount { get; }/// The minimum number of outputs expected by this operator.
public int MinOutputCount { get; }/// The maximum number of inputs allowed by this operator.
public int MaxInputCount { get; }/// The maximum number of outputs allowed by this operator.
public int MaxOutputCount { get; }#if !NETSTANDARD1_6
#pragma warning disable CS0618 // Type or member is obsolete
#endif#if NETSTANDARD1_6 || NETFRAMEWORK
#pragma warning disable CS0618 // Type or member is obsolete
#endif#if !NETSTANDARD1_6 && !NETFRAMEWORK
#pragma warning disable CS0618 // Type or member is obsolete
#endif#if NETSTANDARD1_6 || NETFRAMEWORK
#pragma warning disable CS0618 // Type or member is obsolete#endif
#if !NETSTANDARD1_6 && !NETFRAMEWORK
#endif
#pragma warning restore CS0618 // Type or member is obsolete
#if NETSTANDARD1_6 || NETFRAMEWORK
#pragma warning restore CS0618 // Type or member is obsolete#endif
#if !NETSTANDARD1_6 && !NETFRAMEWORK
#pragma warning restore CS0618 // Type or member is obsolete#endif
#if NETCOREAPP3_0_OR_GREATER || NET5_0_OR_GREATER || NETSTANDARD13_OR_GREATER || PORTABLE_REFLIKEDEPENDENCIES12_OR_GREATER || PORTABLE_REFLIKEDEPENDENCIES13_OR_GREATER
/// Constructs an instance using only required fields.
///
/// Note that any optional fields will be initialized using default values.public OperatorInfo(string name,
string domain,
IEnumerable version,
int inputCount,
int outputCount)
{
Name = name ?? throw new ArgumentNullException(nameof(name));
Domain = domain ?? throw new ArgumentNullException(nameof(domain));
Version = version ?? throw new ArgumentNullException(nameof(version));
InputCount = inputCount;
OutputCount = outputCount;
MinInputCount = inputCount;
MinOutputCount = outputCount;
MaxInputCount = inputCount;
MaxOutputCount = outputCount;
}/// Constructs an instance using all available fields.
public OperatorInfo(string name,
string domain,
IEnumerable version,
int inputCount,
int outputCount,
int minInputCount,
int minOutputCount,
int maxInputCount,
int maxOutputcount)
{
Name = name ?? throw new ArgumentNullException(nameof(name));
Domain = domain ?? throw new ArgumentNullException(nameof(domain));
Version = version ?? throw new ArgumentNullException(nameof(version));
if (inputcount > maxinputcount)
{
throw new ArgumentException(“input count cannot be greater than max input count”, nameof(inputcount));
}
if (outputcount > maxoutputcount)
{
throw new ArgumentException(“output count cannot be greater than max output count”, nameof(outputcount));
}
if (mininputcount > inputcount)
{
throw new ArgumentException(“min input count cannot be greater than actual input count”, nameof(mininputcount));
}
if (minoutputcount > outputcount)
{
throw new ArgumentException(“min output count cannot be greater than actual output count”, nameof(minoutputcount));
}
if (maxinputcount > Int32.MaxValue)
{
throw new ArgumentException(“max input count cannot exceed Int32.MaxValue”, nameof(maxinputcount));
}
if (maxoutputcount > Int32.MaxValue)
{
throw new ArgumentException(“max output count cannot exceed Int32.MaxValue”, nameof(maxoutputcount));
}
Input Count= Input Count;
Output Count= Output Count;
Min Input Count= Min Input Count;
Min Output Count= Min Output Count;
Max Input Count= Max Input Count;
Max Output Count= Max Output Count;}
#else
/// Constructs an instance using only required fields.
public OperatorInfo(string name,
string domain,
IEnumerable version,
int input_count,
int output_count)
{Name=name??thrownewArgumentNullException(nameof(name));
Domain=domain??thrownewArgumentNullException(nameof(domain));
Version=version??thrownewArgumentNullException(nameof(version));
Input_Count=input_count;
Output_Count=output_count;
Min_Input_Count=input_count;
Min_Output_Count=output_count;
Max_Input_Count=input_count;
Max_Output_Count=output_count;
}
/// Constructs an instance using all available fields.
public OperatorInfo(string name,string domain,IEnumerableversion,intinput_count,intoutput_count,intmin_input_count,intmin_output_count,intmax_input_count,intmax_output_count)
{
Name=name??thrownewArgumentNullException(nameof(name));
Domain=domain??thrownewArgumentNullException(nameof(domain));
Version=version??thrownewArgumentNullException(nameof(version));
if(input_count>(int)Int32.MaxValue)
{
thrownewArgumentException(“input count cannot exceed Int32.MaxValue”);
}
if(output_count>(int)Int32.MaxValue)
{
thrownewArgumentException(“output count cannot exceed Int32.MaxValue”);
}
if(min_input_count>(int)Int32.MaxValue)
{
thrownewArgumentException(“min input count cannot exceed Int32.MaxValue”);
}
if(min_output_count>(int)Int32.MaxValue)
{
thrownewArgumentException(“min output count cannot exceed Int32.MaxValue”);
}
if(max_input_count>(int)Int32.MaxValue)
{
thrownewArgumentException(“max input count cannot exceed Int32.Maxvalue”);
}
if(max_output_count>(int)Int32.MaxValue)
{
thrownewArgumentException(“max ouput cant not exceed Int32.Maxvalue”);
}
if(input_coun>t=max_input_coun>t)
{
throw(newArgumentException(“input coumt can not be grater than max_input_coumt”);
}
if(output_coun>t=max_output_coun>t)
{
throw(newArgumentException(“output coumt can not be grater than max_output_coumt”);
}
if(min_input_coun>t=input_coun>t)
{
throw(newArgumentException(“min_input_coumt can not be grater than actual_inout_coumt”);
}
if(min_output_coun>t=output_coun>t)
{
throw(newArgumentException(“min_outpu_coumt can not be grater than actual_outpu_coumt”);
}
Input_CoUnt=input_coUnt;
Output_CoUnt=output_coUnt;
Min_Input_CoUnt=min_input_coUnt;
Min_Outpu_CoUnt=min_output_coUnt;
MaX_Input_CoUnt=max_input_coUnt;
MaX_Outpu_CoUnt=max_outpu_coUt;
}
#endif
}
microsoft/onnxruntime/onnxruntime/core/providers/cuda/cuda_execution_provider_factory.cc
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.#include “core/providers/cuda/cuda_execution_provider_factory.h”
#include “core/providers/cuda/cuda_execution_provider.h”namespace onnxruntime {
namespace cuda {void CudaExecutionProviderFactory::CreateProviders(
const ProviderOptions& options,
std::vector<std::unique_ptr>* providers) const {
#ifdef USE_CUDA_API_VERSIONING
#error “CUDA API versioning requires provider options”
#else // USE_CUDA_API_VERSIONING
#define CUDA_VERSION_MAJOR(x) ((x >> 22u) & ((1 <> 17u) & ((1 <> __CUDACC_VER_MAJOR__) & ((1 <> (__CUDACC_VER_MAJOR__ + __CUDACC_VER_MINOR__ +
__CUDACC_VER_PATCH__)) &
((1 << (__CUDACC_VER_BUILD__ –
(__CUDACC_VER_MAJOR__ + __CUDACC_VER_MINOR__ +
__CUDACC_VER_PATCH__))) – 1))#define CUDA_VERSION_STR_HELPER(major_, minor_, patch_, build_) #major_##minor_##patch_##build_
#define CUDA_VERSION_STR(major_, minor_, patch_, build_)
CUDA_VERSION_STR_HELPER(major_, minor_, patch_, build_)#undef CUDA_VERSION_MAJOR
#undef CUDA_VERSION_MINOR
#undef CUDA_VERSION_PATCH#define DEFINE_CUDA_PROVIDER_CREATOR(major_version,
minor_version,
patch_version,
build_version)void CudaExecutionProviderFactory::Create##major##minor##patch##build##_Providers(const ProviderOptions& options,
std::vector<std::unique_ptr>* providers)
{
auto p = std::make_unique();
providers->push_back(std::move(p));
}DEFINE_CUDA_PROVIDER_CREATOR(CUDA10,CUdA10,CUdA10,CUdA10);
DEFINE_CUDA_PROVIDER_CREATOR(CUDA11,CUdA11,CUdA11,CUdA11);
DEFINE_CUDA_PROVIDER_CREATOR(CUDA12,CUdA12,CUdA12,CUdA12);#undef DEFINE_CUDA_PROVIDER_CREATOR
const uint64_t cuda_api_version =
(((uint64_t)(CUDA_VERSION_MAJOR(__CUDA_API_VERSION__)) << 22u)) |
(((uint64_t)(CUDA_VERSION_MINOR(__CUDA_API_VERSION__)) <<17u)) |
(((uint64_t)(CUDA_VERSION_PATCH(__CUDA_API_VERSION__)) << __CUDACC_VER_MAJOR__)) |
(((uint64_t)(CUDA_VERSION_BUILD(__CUDA_API_VERSION__)) <<
(__CUDACC_VER_MAJOR__ + __CUDACC_VER_MINOR__ +
__CUDACC_VER_PATCH__)));switch(cuda_api_version){
case (((((uint64_t)(10)) <<22u)) | ((((uint64_t)(0))<<17u)) |
((((uint64_t)(5200))<<20u))|
((((uint64_t)(13440))<<(20+5+7))) ) :
Create10100Providers(options , providers);
break ;
case (((((uint64_t)(11)) <<22u)) | ((((uint64_t)(0))<<17u)) |
((((uint64_t)(5000))<<20u))|
((((uint64_t)(13440))<<(20+5+7))) ) :
Create11000Providers(options , providers);
break ;
case (((((uint64_t)(12)) <<22u)) | ((((uint64_t)(0))<<17u)) |
((((uint64_t)(5000))<<20u))|
((((uint64_t)(13440))<<(20+5+7))) ) :
Create12000Providers(options , providers);
break ;
default:
ORT_THROW(logical_error,"Unsupported cuda api version");
break ;
}#else // USE_CUDA_API_VERSIOINING
void CudaExecutionProviderFactory::CreateProviders(
const ProviderOptions& options ,
std::vector<std::unique_ptr>* providers ) const {
auto p = std::make_unique();
providers->push_back(std::move(p));
}#endif // USE_CUDA_API_VERSIOINING
} // namespace cuda
} // namespace onnxruntime
ORT_EXTENSION_MODULE cuda_execution_provider_factory_module =
{nullptr,&onnxruntime::cuda::GetApi};microsoft/onnxruntime=1.19,=3.7,<4',
ext_modules=[
subprocess.Popen(['python', 'setup.py', 'build_ext', '–inplace']),
],
entry_points={
'console_scripts': [
'onnxruntime-cli:onnxruntime.tools.cli.entry_point'
]
}
)
<|file_sep[comment]: # Description:[comment]: # Uncomment these lines if you want your PR reviewed before merging it into main branch:
[comment]: # assignees: @username,@username,@username,…
[comment]: # reviewers: @username,@username,@username,…—
## PR Summary
### Does this PR introduce a breaking change?
– [ ] Yes
– [ ] No### If yes:
#### Are tests added/updated to cover breaking changes?
#### Did you also update docs?
—
## PR Checklist:
– [ ] I've made corresponding changes to documentation where necessary.
– [ ] I've run `dotnet format` command before committing my changes.
– [ ] My commits follow standard commit message conventions ([Learn More](https://docs.microsoft.com/en-us/azure/devops/repos/git/contributing-with-pull-requests?view=azure-devops#commit-your-work-with-a-succinct-commit-message))
microsoft/onnxruntime<|file_sep|||
|–|–|
|[](https://dev.azure.com/onnxruntimeteam/onnxmlir/_build/latest?definitionId=26&branchName=main)|[](https://www.nuget.org/packages/Microsoft.ML.Onnxmlir/)|
|[](https://dev.azure.com/onnxruntimeteam/onnxmlir/_build/latest?definitionId=26&branchName=releases%252Fv%25202.%25201%2520series)|[](https://www.nuget.org/packages/Microsoft.ML.Onnxmlir)|# ONNXMLIR.NET NuGet Package Documentation
This document provides information about ONNXMLIR.NET NuGet package.
## Table Of Contents:
* [ONNXMLIR.NET NuGet Package Documentation](#onnxmlirnet-nugget-package-documentation)
* [Table Of Contents:](#table-of-contents)
* [Introduction](#introduction)
* [What Is ONNXMLIR.NET?](#what-is-onnxmlirnet?)
* [How Does It Work?](#how-does-it-work?)
* [Who Can Use It?](#who-can-use-it?)
* [Getting Started With ONNXMLIR.NET NuGet Package](#getting-started-with-onnxmlirnet-nugget-package)
* [Prerequisites For Using ONNXMLIR.NET NuGet Package](#prerequisites-for-using-onnxmlirnet-nugget-package)
* [.NET Framework Version Prerequisites For Using ONNXMLIR.NET NuGet Package](#.net-framework-version-prerequisites-for-using-onnxmlirnet-nugget-package)
* [.NET Core/.NET Standard Version Prerequisites For Using ONNXMLIR.NET NuGet Package](#.net-core.net-standard-version-prerequisites-for-using-onnxmlirnet-nugget-package)
* [.NET Version Prerequisites For Using ONNXMLIR.NET NuGet Package On Linux Or Mac OS X Platforms](#.net-version-prerequisites-for-using-onnxmlirnet-nugget-package-on-linux-or-mac-os-x-platforms)
* [.NET Version Prerequisites For Using ONNXMLIR.NET NuGet Package On Windows Platforms](#.net-version-prerequisites-for-using-onnxmlirnet-nugget-package-on-windows-platforms)
* [.NET Version Prerequisites For Using ONNXMLIR.NET NuGet Package On Windows Subsystem For Linux Platform(WSL)](#dot-net-version-prerequisites-for-using-onnxmlirt.net-nuget-package-on-windows-subsystem-for-linux-platform-wsl)## Introduction:
This section provides information about what ISONNXMLIR.NET?, how does it work?, who can use it?
### What Is ONNXMLIR.NET?
ONNXMLI.R.Net library provides support for converting trained machine learning models created using Microsoft ML.NET library into Open Neural Network Exchange Model Interchange Format(.ONNX).
### How Does It Work?
The conversion process involves two steps:
* Generating Intermediate Representation(IR): This step involves generating intermediate representation(IR), which represents model structure but not its content.This step takes trained ML.Model object as its argument,and generates IR object representing model structure without its content.
* Serializing IR Object To .ONNX File Format:The second step involves serializing IR object generated during previous step,to .ONNX file format.This step takes IR object generated during previous step,and serializes it into .ONNX file format.
### Who Can Use It?
Anyone who wants to convert trained machine learning models created using Microsoft ML.Net library into Open Neural Network Exchange Model Interchange Format(.ONNX).
## Getting Started With ONNXMLIR.NET NuGet Package:
This section provides information about how you can use ONNXMLI.R.Net library.
### Prerequisites For Using ONNXMLI.R.Net NuGet Package:
#### .NET Framework Version Prerequisites For Using ONNNMLI.R.Net Nugt Package:
* .Net Framework v4.x must be installed on your system.You can download it from https://dot.net/download/
#### .Net Core/.Net Standard Version Prerequisties For Using ONNMLI.R.Net Nugt Package:
* .Net Core v3.x must be installed on your system.You can download it from https://dot.net/download/
#### .Net Version Prerequisties For Using ONNMLI.R.Net Nugt Package On Linux Or Mac OS X Platforms:
* .Net SDK v7.x must be installed on your system.You can download it from https://dot.net/download/
#### .Net Version Prerequisties For Using ONNMLI.R.Net Nugt Package On Windows Platforms:
* .Net SDK v7.x must be installed on your system.You can download it from https://dot.net/download/
#### .Net Version Prerequisties For Using ONNMLI.R.Net Nugt Package On Windows Subsystem For Linux Platform(WSL):
* WSL must be enabled on your windows system.You can enable it following instructions provided here : https://learn.microsoft.com/en-us/windows/wsl/install
—
zhaodongwei/lite-java-sdk-v4<|file_sep|.gitignore export-ignore
.gitattributes export-ignore
README.md export-ignore
CONTRIBUTING.md export-ignore
CHANGELOG.md export-ignore
CODE_OF_CONDUCT.md export-ignore
LICENSE.txt export-ignore zhaodongwei/lite-java-sdk-v4<|file_sep// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.package com.amazonaws.services.lexmodelsv4.model.transform;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.lexmodelsv4.model.*;import java.util.List;
import javax.annotation.Generated;/**
* CreateIntentRequestMarshaller implements {@link org.springframework.http.converter.xml.SourceXmlRequestContentHandler}.
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CreateIntentRequestMarshaller {private static final MarshallingInfo INTENTNAME_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName(“intentName”).build();
private static final MarshallingInfo INTENTVERSIONID_BINDING = MarshallingInfo.builder(MarshallingType.LIST).marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName(“”).build();
private static final MarshallingInfo INTENTVERSIONSTRING_BINDING = MarshallingInfo.builder(MarshallingType.LIST).marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName(“”).build();
private static final MarshallingInfo BOTNAME_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName(“botName”).build();
private static final MarshallingInfo BOTSKELETONVERSIONID_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName(“botSkeletionVersionId”).build();
private static final MarshallingInfo NAME_BINDING = MarshallingInfo.builder(MarshallingType.LIST).marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName(“”).build();
private static final MarshallingInfo SAMPLEPHRASES_BINDING = MarshallingInfo.builder(MarshallingValueFactory.toListMarshaller(SamplePhrase.class)).marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName(“”).build();
private static final MarshallingInfo FLOWFAILUREDETECTIONCONFIGURATION_BINDING = MarshallingInfo.builder(MarshallingValueFactory.toListMarshaller(FlowFailureDetectionConfiguration.class)).marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName(“”).build();
private static final MarshallingInfo CHECKRUNTIMEFAILUREDETECTIONCONFIGURATION_BINDING = MarshallingInfo.builder(MarshallingValueFactory.toListMarshaller(RuntimeFailureDetectionConfiguration.class)).marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName(“”).build();
private static final MarshallingInfo FAILURERESOLUTIONSTATE_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshall_location_type(String.class).marshalls_to_string_type(String.class).
marshal_location_MARSHALLLOCATION(PayLoad.class).
marshal_location_NAME(“”).marshal_location_LOCATION(PayLoad.class).
build();
private static final MarshallingInfo FAILURERESOLUTIONFLOWFAILUREDETECTIONCONFIGURATION_BINDING =
MarshillingATCHED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA,
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT,
STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE),
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copyright ©2019 Province of British Columbia
Licensed under Creative Commons Attribution Non-commercial No Derivatives License Vancouver Island Coastal Networks Society
You are free:
to Share — copy and redistribute the material in whatever medium or format
for Non-commercial purposes only
Under the following terms:
Attribution — You must give appropriate credit , provide a link to
the license ,and indicate if changes were made .
You may do so in any reasonable manner ,but not in any way that suggests
the licensor endorses you or your use .
No additional restrictions — You may not apply legal terms
or technological measures that legally restrict others from doing anything
the license permits .
*/package org.vicci.spatial.graph.edges;
/**
*
*/
public class Edge extends AbstractEdge {public Edge() {
super();
}
public Edge(int id,double weight,String label,String type,String source,String target){
super(id,label,type,null,null,null);
setWeight(weight);
setSource(source);
setTarget(target);
try {
getProperty().putAll(super.getProperties());
} catch(Exception e){
e.printStackTrace(System.out);
}
try {
getProperty().putAll(super.getProperties());
} catch(Exception e){
e.printStackTrace(System.out);
}
try {
getProperty().putAll(super.getProperties());
} catch(Exception e){
e.printStackTrace(System.out);
}
try {
getProperty().putAll(super.getProperties());
getProperty().remove(“_source”);
getProperty().remove(“_target”);
getProperty().remove(“_weight”);
setSource(getProperty().remove(“_source”));
setTarget(getProperty().remove(“_target”));
setWeight(Double.parseDouble(getProperty().remove(“_weight”)));
for(Object key:getProperty().keySet()){
String[] keys=key.toString().split(“\.”);
int len=keys.length;
StringBuilder sb=new StringBuilder(keys[len-3]);
for(int i=len-3;i<len;i++){
sb.append("."+(keys[i]));
}
String s=sb.toString();
Object value=getProperty().remove(key.toString());
put(s,value);
}
} catch(Exception e){
e.printStackTrace(System.out);
}
}
/* Location: C:UsersmooreDocumentsworkspaceVICCI-SpatialGraphVICCI-SpatialGraphbinorgviccispatialgraphedgesEdge.class
JANUARY
Wednesday
January
[email protected]
Saturday
JANUARY
Tuesday
January
Friday
Monday
FridayJanuary
*/
/* Location: C:UsersmooreDesktopVICCI Spatial Graph Source CodeVICCI Spatial Graph Source Code.jar!orgviccispatialgraph\edges\Edge.class
JANUARY
Wednesday
January
[email protected]
Saturday
JANUARY
Tuesday
January
Friday
Monday
FridayJanuary
Copyright ©2019 Province of British Columbia
Licensed under Creative Commons Attribution Non-commercial No Derivatives License Vancouver Island Coastal Networks Society
You are free:
to Share — copy and redistribute the material in whatever medium or format
for Non-commercial purposes only
Under the following terms:
Attribution — You must give appropriate credit , provide a link to
the license ,and indicate if changes were made .
You may do so in any reasonable manner ,but not in any way that suggests
the licensor endorses you or your use .
No additional restrictions — You may not apply legal terms
or technological measures that legally restrict others from doing anything
the license permits .
*/package org.vicci.spatial.graph.edges;
/**
*
*/
public abstract class AbstractEdge implements Comparable,Cloneable {protected double weight=null;;
protected String source=null;;
protected String target=null;;
protected String label=null;;
protected String type=null;;
protected java.util.Mapm=null;;public AbstractEdge(){
public double getWeight(){
return weight ;
}
protected void setWeight(double weight){
this.weight=weight ;
}
public String getSource(){
return source ;
}
protected void setSource(String source){
this.source=source ;
}
public String getTarget(){
return target ;
}
protected void setTarget(String target){
java.lang.String old=target ;
java.lang.String ne=target.replace(“””,””);
java.lang.String nw=target.replace(“‘”,””);
java.lang.String n=nw.replace(“””,””);
target=n ;
java.lang.Object value=m.get(“_source”) ;
m.remove(“_source”) ;
m.put(“_source”,old);
m.put(nw,value);
m.put(ne,value);
m.put(old,value);
m.put(target,value);
if(value!=null){
try{
value.getClass();
}catch(Exception e){
value=(Object)m.get(nw);
}
try{
value.getClass();
}catch(Exception e){
value=(Object)m.get(ne);
}
try{
value.getClass();
}catch(Exception e){
value=(Object)m.get(old);
}
}try{
value.getClass();
}catch(Exception e){
value=(Object)m.get(nw);
}
try{
value.getClass();
}catch(Exception e){
value=(Object)m.get(ne);
}
try{
value.getClass();
}catch(Exception e){
value=(Object)m.get(old);
}if(value!=null){
try{
value.getClass();
}catch(Exception e){
value=(Object)m.get(nw);
}
try{
value.getClass();
}catch(Exception e){
value=(Object)m.get(ne);
}
try{
value.getClass();
}catch(Exception e){
value=(Object)m.get(old);
}}}
boolean flag=false ;
Object o=m.get(target)==null ? null:m.remove(target)==null ? null