Looking for LODNetworkConstraint example?

I would like to extend a route calculation Web Service to include turn restructions but can't find any java examples that use LODNetworkConstraint together with a turn restriction field in the link table. Looking at some older example programs it looks like I should load up a hashMap from the database with all the restricted turns then write the code that checks between the current and next link. Eg. validTurn(currentLink.getId(), nextLink.getId());

You can download the ndm tutorial from
https://spatial.samplecode.oracle.com/servlets/ProjectProcess?pageID=0Zl7oV
Unzip num_tutorial.zip
There is an example ndm_tutorial\examples\java\src\lod\SpWithProhibitedTurn.java
It uses a HashpMap to keep the turn restriction information as (startLinkID and endLinkID).
The turn restriction information can be stored in DB or a file (implemented by the application).
It is needed when you run the shortest path analysis with the turn restriction constraint.
Depending on the amount of turn restriction information, if it cannot be fit in memory completely,
you need to stored it as user data and partition blobs and it will be automatically loaded when it is needed,
just as the network partitions.
Jack

Similar Messages

  • Looking for an example from app gallery that uses WAAD for identity

    I'm looking for an example from the app gallery (http://azure.microsoft.com/en-us/gallery/active-directory/) that uses WAAD for identity. I need one the show our business what the process would look like for an organization signing up for a SaaS offering
    via the App Gallery. I know all the Microsoft applications use WAAD but I was hoping to find a third-party example.  What I mean is an app where all tenant and user identity is done using WAAD as opposed to federated identity.

    I doubt that what you are looking for exists yet.
    Cheers,
    Markus
    Markus Vilcinskas, Knowledge Engineer, Microsoft Corporation

  • Looking for a examples of a podcast from a law enforcement agency

    Hi, I am looking for podcast examples from a law enforcement agency. Any suggestions?

    I doubt you'll find any through iTunes U which is pretty much all educational institutions, though someone might have posted something from a sociology and criminology program. You might try browsing the iTunes Store podcasts section:
    Browse -> Podcasts -> Government & Organizations
    I didn't go through the entire list, but I did see a podcast from the Center on Law and Security and one from Cop Talk Radio, so there might be podcasts of interest.
    Regards.

  • I'm looking for an example of Session Time Warning dialog

    I'm looking for an example of a Session Timeout warning dialog to warn a user that their session is about to expire.  I'd really like it to have the option to extend the session or logout.
    I have a user submitted Webapp with several fields and an image upload.  The image upload is for a copy of a professional state license.  When the user gets to this field in the form, they realize that they have to scan their form first.  They leave the Webapp Input form open, get their image uploaded finally, submit the form, then they get a message that they are no longer logged in. Any help would be greatly appreciated :)

    If your doing work on the front end like this and you feel the form is to long or things like file upload takes too long then build a multi-step form process and have the image as one of the latter steps so you can start saving the data.

  • Looking for an example for using CreateViewObject()

    ADF 11g
    Hello
    In order to have a temporary vo for some internal processing
    I'm looking for an example for using CreateViewObject()
    If I understand things correctly it is used as follows :
    ViewObject vo = am.createViewObject("MyVO", "package1.DeptView");
    vo.executeQuery()
    // do my processing here
    vo.remove()Is this correct ?
    Regards
    Paul

    Hi Paul,
    Yes it is correct, you can find the sample code in [this post|http://radio.weblogs.com/0118231/stories/2003/01/17/usingViewObjectsInEntityObjectsForAnEfficientExistenceCheck.html] by steve muench(Search with createViewObject for quick referencing)
    Sireesha

  • I am looking for an example ...

    I am looking for an example that would show me a jsp page that retrieves/displays say 20 records at a time from a query which produced say 1000 records as a result. I mean being able to go to next page as well as previous page and display 20 records at a time.
    Thanks for any help.

    It's a little bit long, be patient...
    <%@ page language="Java" import = "java.sql.*" %>
    <jsp:useBean id="myBean" scope ="session" class="bean.DataConnectionBean" />
    <html>
    <body bgcolor="#CCFFFF">
    <%
    String sql; //SQL string
    int rowPerPage=10; //Record size of one page
    int rowTotal; //Total records
    int pageTotal; //Total pages
    int pageIndex; //Pages waiting for display, from 1
    pageIndex = Integer.parseInt( request.getParameter("page") );
    rowTotal=Integer.parseInt( request.getParameter("rowTotal") );
    String sql_2=request.getParameter("sql_2");
    String sql_1= "select " +
    "vin, " +
    "ga_no, " +
    "ga_build_date, " +
    "deliver_date, " +
    "model, " +
    "year_code, " +
    "engine_no, " +
    "initial_mileage " +
    "from vehiclemaster " +
    "where ";
    sql=sql_1+sql_2;
    myBean.connect();
    ResultSet rs=myBean.executeQuery(sql);
    pageTotal = (rowTotal+rowPerPage-1) / rowPerPage; // Get total pages
    if(pageIndex>pageTotal) pageIndex = pageTotal;
    %>
    <table border="0" cellpadding="2" cellspacing="0">
    <tr>
    <td align="left">
    <div align="left">Total <%=rowTotal%> Records</div>
    </td>
    </tr>
    </table>
    <table border="0" width="844">
    <tr bgcolor="#669966">
    <th>VIN</th>
    <th>GA#</th>
    <th>build date</th>
    <th>deliver date</th>
    <th>model</th>
    <th>model year code</th>
    <th>engine#</th>
    <th>initial mileage</th>
    </tr>
    <%
    int absolute=(pageIndex-1) * rowPerPage;
    for(int k=0; k<absolute; k++) rs.next();
    int i = 0;
    String LineColor;
    while( rs.next() && i<rowPerPage && (absolute+i)<rowTotal ){
    String col1=( ( ( col1=rs.getString(1) ) == null || rs.wasNull() ) ? "" : col1 );
    String col2=( ( ( col2=rs.getString(2) ) == null || rs.wasNull() ) ? "" : col2 );
    String col3=( ( ( col3=rs.getString(3) ) == null || rs.wasNull() ) ? "" : col3 );
    String col4=( ( ( col4=rs.getString(4) ) == null || rs.wasNull() ) ? "" : col4 );
    String col5=( ( ( col5=rs.getString(5) ) == null || rs.wasNull() ) ? "" : col5 );
    String col6=( ( ( col6=rs.getString(6) ) == null || rs.wasNull() ) ? "" : col6 );
    String col7=( ( ( col7=rs.getString(7) ) == null || rs.wasNull() ) ? "" : col7 );
    String col8=( ( ( col8=rs.getString(8) ) == null || rs.wasNull() ) ? "" : col8 );
    if (i % 2 == 0) LineColor="#DBECFD";
    else LineColor="#C6E1FD";
    %>
    <TR bgcolor="<%= LineColor %>">
    <TD><%=col1%></TD>
    <TD><%=col2%></TD>
    <TD><%=col3%></TD>
    <TD><%=col4%></TD>
    <TD><%=col5%></TD>
    <TD><%=col6%></TD>
    <TD><%=col7%></TD>
    <TD><%=col8%></TD>
    </TR>
    <%i++;
    }%>
    </table>
    <div align="center">
    <table border="0" align="left">
    <tr>
    <td align="left">
    <div align="left">Page <%=pageIndex%> / <%=pageTotal%> 
    <%if(pageIndex<pageTotal){%>
    <a href="QueryVehicleResult.jsp?sql_2=<%=sql_2%>&rowTotal=<%=rowTotal%>&page=<%=pageIndex+1%>"><img src="images/next.gif" border="0">
    </a>
    <%}%>
    <%if(pageIndex>1){%>
    <a href="QueryVehicleResult.jsp?sql_2=<%=sql_2%>&rowTotal=<%=rowTotal%>&page=<%=pageIndex-1%>"><img src="images/prev.gif" border="0">
    </a>
    <%}%>
    </div>
    </td>
    </tr>
    </table>
    </div>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </body>
    </html>
    <%
    rs.close();
    myBean.close();
    %>

  • I am looking for labview examples related to ECG

    Hi, everyone!
    I need your help.
    I am looking for labviews examples, which are related
    to ECG for my thesis .
    I wait for your answer.
    thanks in advance

    Burcu;
    I am not sure what type of examples are you looking, so this is a start:
    Searching at the LabVIEW Discussion forum I found:
    Example
    calculate heart rate from ECG
    how to design a suitable vi to acquire ECG waveform?
    Doing a search with Google:
    LabView Exercise to model and analysis ECG/EKG data
    EE 206 MINI-PROJECT I CARDIAC MONITOR VI
    Searching an NI.com:
    PC-Based ECG Monitoring and Analysis Using BioBench (LabVIEW VIs at bottom - not sure if link is dead)
    Regards;
    Enrique Vargas
    www.visecurity.com
    www.vartortech.com

  • Looking for an example VI that shows how to trigger an event in a VI from a subvi based on a value.

    I am looking for an example VI that uses a typical event structure for the GUI, but also has an event that will trigger based on a boolean value changing in a subVI to that VI.
    Thank you.

    You need to Create User Event.  Any Event structure which is registered with the event, whether it be in a subVI or otherwise can trigger the user event by using Generate User Event.
    Right-click an event structure and select Show Dynamic Event Terminal.  This is what you use to register your user (dynamic) events.
    Search for "events" in NI examples within LabVIEW.

  • Javacc and jjtree - looking for working example

    Hi all,
    I am doing a project that requires me to have an input of some java code. It is then run through a parser to tokenize it and it is then outputted into a grammar/syntax tree. My mentor has told me that I do not need to write this part (I will be doing work on tree once it is generated), and by the looks of it the parser can be 2-5k lines of code?
    Anyway, I have been looking at the examples that come with javacc and jjtree, and have those working etc. My problem is that i need to combine the two examples and i cant see anyway of doing that as the examples are vastly different. (one is a java parser the other is a 'stupid program language' tree generator, so they are using different grammars?)
    So my question is: is it possible to get a already made program that takes in java code and spits out a tree on the other end? If not what steps do i need to take to make this program :S
    Thanks!
    Scott.

    Here is a visual example
    http://www.bray.com/rollover.jpg
    The big picture would represent area "A"
    The smaller white outline box area "B"
    And area "C" would be down below
    Notice the thin white lines going from top to bottom and side
    to side represtent the crosshairs and will move around within the
    big picture as the mouse moves. Area "B" would remain centered on
    these crosshairs and would show a fullsize image of the area
    immediately around where the crosshairs are located. On a mouse
    click would change area "C" to pull up some detail text, photos,
    etc.
    The large picture will actually be a map as opposed to a pure
    photo as shown here, it was just easiest to grab a photo real quick
    for this visual example. I borrowed this photo from
    http://www.pezcyclingnews.com/
    I hope they don't mind to much.

  • Looking for Labview Examples for At-MIO-16DE-10 and AMUX-64T

    looking for examples to record:
    Load vs strain and temperature using these two.
    Also a quick guide to how to get started. I hav Labview 6i and the card and board. No experience yet.

    Greetings,
    There are a variety of documents on our website that contain information about using the AMUX-64T with an MIO device. There are also example programs that show how to acquire readings using an MIO device with the AMUX-64T. I have linked to some of better documents below as well as the AT-MIO-16DE-10 and AMUX-64T User Manuals.
    AT E Series User Manual
    http://digital.ni.com/manuals.nsf/webAdvsearch/6FB4341E8E3080F086256BD000550261?OpenDocument&vid=niwc&node=132100_US
    AMUX-64T User Manual
    http://digital.ni.com/manuals.nsf/webAdvsearch/AF2CEB4411E9D3DE862567130055EAAC?OpenDocument&vid=niwc&node=132100_US
    How do I Address an AMUX-64T with an MIO Board?
    http://digital.ni.com/public.nsf/websearch/C6D362737414AD6D862562A80070E694?OpenDocument
    Taki
    ng Thermocouple Measurements Using the AMUX-64T
    http://digital.ni.com/public.nsf/websearch/9D8232DFFE50108F86256DCD005A319B?OpenDocument
    I would start with making sure the AT-MIO-16DE-10 is installed and configured correctly. You can used Measurement and Automation Explorer (MAX), which is software that is installed with NI-DAQ, to configure and test the AT-MIO-16DE-10. The AT-MIO-16DE-10 user manual goes through the installation and configuration steps for the device. Then I would attach the AMUX-64T and try to acquire signals. You can use the AMUX-64T user manual and the other linked documents to help you determine how to acquire signals when the AMUX-64T is connected to the AT-MIO-16DE-10.
    I hope this helps.
    Regards,
    Todd D.
    NI Applications Engineer

  • Looking for istructions/examples for using winsock in Labview

    I'm looking for instructions or examples of using winsock in Labview. Looking in the NI examples I found an example using winsock UDP with Labwindows but nothing for Labview. Is the same function named different in Labview?

    Thanks for the links. Unfortunately, I am specifically looking for the ways to use WinSock (I want to collect data from a number of remote locations and the WinSock would provide me with an effective way to
    a) control the telephone number to be dialed (different for different remote stations)
    b) provide me with TCP/IP, so I could use the full power of LabVIEW seeing a remote computer as an IP address (and being able to use shared variables, web server, data socket etc. instead of me having to program all that myself)
    The other acceptable way would be to utilise a driver for a virtual network card (so I can programmically access it as TCP/IP on one side, and as a flow of bytes on the other, "virtual network cable", side). Any suggestions in this direction? By the way, it would be the best if the National Instuments would do such a virtualisation themselves. It would allow to utilise a number of solutions painlessly.

  • Looking for Great Examples of Keynote to demo for HS students

    I'm looking for some excellent examples that demonstrate Keynote's capabilities that I can show to my students. Thanks for any help!

    Hi Leo,
    The only thing I could suggest, perhaps, would be to google for sites using:
    inurl:pls/APEX OR inurl:pls/htmldb
    as the search expression. Or have a look at:
    Re: Nominate APEX Site for a Design Award
    Regards
    Andy

  • Looking for great examples of iweb sites

    I am in the process of rebuilding my site with iweb '09 and want to see what others have done using iweb '09. I want to see what is possible. Any ideas where I should look ? Thanks - Thomas

    Macistotle wrote:
    I did my entire site in iWeb, using nearly zero template-based elements:
    http://www.503creative.com
    that's a pretty good looking iWeb site.
    I also think something he mentions is good advice for someone who wants to make a iWeb site look as pro as possible, which is to avoid the templates. While the templates look good on the Mac, they seem to be a cause of grief for IE, which most people use to surf the net. Also, they're canned. It's better, I think, to start with a blank slate and build from there. Stylistically, I think there's a trend towards simple elegance in professional websites rather than ginned up designs that are no longer as popular as they used to be.
    Here is a site I made in iWeb that exemplifies the "simple elegance" that I think is becoming popular these days and also coincides with iWeb's ability to work better on more systems when the design elements are kept simple. Basically, the iWeb site I came up with is a search engine. I know that sounds boring but I'm thinking it may be handy for people looking for a particular website but don't know where to find it yet. There are also some additional features I've been adding into it, and advertising here and there to generate some income, but basically it's a search engine. I've finally gotten it off MobileMe and onto a 3rd party host so the URL is now www.google.com. Let me know what you think!

  • Looking for creative examples

    i know i've seen some very interesting sites (usually
    designed by/for photographers) that have big images that scroll
    horizontally (in other words, they take advantage of the infinite
    potential width of a webpage as opposed to the infinite potential
    height) but i can't seem to find them just now. can anyone think of
    any?
    thanks.

    Thanks. That's useful but it's not exactly what I'm looking for. I'm trying to bring a level of production value to my webinars that goes beyond those fixed by Connect and am looking for unique and creatives uses beyond the basics. It may not exist as Connect makes creativity difficult in this environment, but I thought someone might have squeezed a bit of beauty out of it. If so, I'd like to see it.

  • Looking for ELResolver examples

    Has anyone had to write an ELResolver in order to pass an object initialized using Dependency Injection to a custom tag's runtime expression?
    Here's an article about it: http://today.java.net/pub/a/today/2006/03/07/unified-jsp-jsf-expression-language.html
    And Dependency Injection:http://www.onjava.com/pub/a/onjava/2006/01/04/dependency-injection-java-ee-5.html
    I'm looking for how to steps on how to do this.
    Thanks for any help
    Corinne

    I doubt you'll find any through iTunes U which is pretty much all educational institutions, though someone might have posted something from a sociology and criminology program. You might try browsing the iTunes Store podcasts section:
    Browse -> Podcasts -> Government & Organizations
    I didn't go through the entire list, but I did see a podcast from the Center on Law and Security and one from Cop Talk Radio, so there might be podcasts of interest.
    Regards.

Maybe you are looking for

  • Factory Instantiation Problem when publishing WSDL in Service Registry

    I have installed SOA Suite 10.1.3.1 and OSR 10.1.3. and am trying to publish a WSDL for a new business created as admin. This causes an UDDI error, though: "Invalid WSDL location! WSDLException: faultCode=CONFIGURATION_ERROR: Problem instantiating fa

  • My iPod Touch 3rd generation wont start back up after turning it off

    It all started when I was downloading an update for my twitter app and when it got to "Installing..." it got stuck like that for a while so I turned the ipod off (holding the power button off) and turned it back on. So when I tried to turn it on, it

  • Encrypting PDF documents in Preview

    If you try to encrypt a PDF document in Preview by selecting the encrypt checkbox in the Save As panel, you might find that when you re-open the encrypted document, any forms that you filled out in the document have garbled characters instead of the

  • DSL, LAN, DHCP & DNS settings.

    I am having trouble with setting up my Solaris 10 on the internet. I use SBC DSL for my Windows and Linux programs without any problems. But, the Solaris can't access eth0, or my modem for a direct connection, and I can't establish a proxy connection

  • Message output type

    Hi while I am checking client system  for Message schema/procedure, output type XX1 exists, but this output type not exists in F4. Also it is not available in table T685. I think output type XX1 not defined/created, than How it is available in proced